1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed "indentation is not a multiple of four" pep8 issues.

This commit is contained in:
Tim Graham
2013-09-03 14:22:21 -04:00
parent cb98ffe8f4
commit 5649c0af9d
20 changed files with 64 additions and 60 deletions

View File

@@ -244,14 +244,14 @@ class ValidationTestCase(TestCase):
def test_nested_fields(self):
class NestedFieldsAdmin(admin.ModelAdmin):
fields = ('price', ('name', 'subtitle'))
fields = ('price', ('name', 'subtitle'))
NestedFieldsAdmin.validate(Book)
def test_nested_fieldsets(self):
class NestedFieldsetAdmin(admin.ModelAdmin):
fieldsets = (
('Main', {'fields': ('price', ('name', 'subtitle'))}),
)
fieldsets = (
('Main', {'fields': ('price', ('name', 'subtitle'))}),
)
NestedFieldsetAdmin.validate(Book)
def test_explicit_through_override(self):