summaryrefslogtreecommitdiff
path: root/tests/modeladmin/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modeladmin/tests.py')
-rw-r--r--tests/modeladmin/tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/modeladmin/tests.py b/tests/modeladmin/tests.py
index c49a132f7c..c6b4a565c8 100644
--- a/tests/modeladmin/tests.py
+++ b/tests/modeladmin/tests.py
@@ -220,6 +220,7 @@ class ModelAdminTests(TestCase):
conjunction with `ModelAdmin.readonly_fields` and when no
`ModelAdmin.exclude` is defined (#14496).
"""
+
# With ModelAdmin
class AdminBandForm(forms.ModelForm):
class Meta:
@@ -284,6 +285,7 @@ class ModelAdminTests(TestCase):
The custom ModelForm's `Meta.exclude` is overridden if
`ModelAdmin.exclude` or `InlineModelAdmin.exclude` are defined (#14496).
"""
+
# With ModelAdmin
class AdminBandForm(forms.ModelForm):
class Meta: