summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2018-03-16 10:54:34 +0100
committerGitHub <noreply@github.com>2018-03-16 10:54:34 +0100
commit362813d6287925b8f63f0b107c55a74d95f5825e (patch)
treeefd69a3deb9e837624279e5abfdd8d55d57dcd7c /tests/admin_views
parentaeb8c381789ad93866223f8bd07d09ae5e2edd9e (diff)
Fixed hanging indentation in various code.
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/admin.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/admin_views/admin.py b/tests/admin_views/admin.py
index ceae4c11a2..9e6ce63077 100644
--- a/tests/admin_views/admin.py
+++ b/tests/admin_views/admin.py
@@ -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):