mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed hanging indentation in various code.
This commit is contained in:
parent
aeb8c38178
commit
362813d628
40 changed files with 266 additions and 232 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue