mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #21268 -- Fixed E303 pep8 warnings
This commit is contained in:
@@ -131,7 +131,6 @@ class ValidationTestCase(TestCase):
|
||||
inlines = [TwoAlbumFKAndAnEInline]
|
||||
MyAdmin.validate(Album)
|
||||
|
||||
|
||||
def test_inline_self_validation(self):
|
||||
class TwoAlbumFKAndAnEInline(admin.TabularInline):
|
||||
model = TwoAlbumFKAndAnE
|
||||
@@ -296,7 +295,6 @@ class ValidationTestCase(TestCase):
|
||||
model = Song
|
||||
fields = '__all__'
|
||||
|
||||
|
||||
class FieldsOnFormOnlyAdmin(admin.ModelAdmin):
|
||||
form = SongForm
|
||||
fields = ['extra_data', 'title']
|
||||
|
||||
Reference in New Issue
Block a user