1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed hanging indentation in various code.

This commit is contained in:
Mariusz Felisiak
2018-03-16 10:54:34 +01:00
committed by GitHub
parent aeb8c38178
commit 362813d628
40 changed files with 266 additions and 232 deletions

View File

@@ -282,8 +282,7 @@ download.short_description = 'Download subscription'
def no_perm(modeladmin, request, selected):
return HttpResponse(content='No permission to perform this action',
status=403)
return HttpResponse(content='No permission to perform this action', status=403)
no_perm.short_description = 'No permission to run'
@@ -685,11 +684,7 @@ class ReportAdmin(admin.ModelAdmin):
def get_urls(self):
# Corner case: Don't call parent implementation
return [
url(r'^extra/$',
self.extra,
name='cable_extra'),
]
return [url(r'^extra/$', self.extra, name='cable_extra')]
class CustomTemplateBooleanFieldListFilter(BooleanFieldListFilter):