mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23395 -- Limited line lengths to 119 characters.
This commit is contained in:
committed by
Tim Graham
parent
84b0a8d2aa
commit
b1e33ceced
@@ -202,7 +202,10 @@ class InlineFormsetTests(TestCase):
|
||||
FormSet(instance=None)
|
||||
|
||||
def test_empty_fields_on_modelformset(self):
|
||||
"No fields passed to modelformset_factory should result in no fields on returned forms except for the id. See #14119."
|
||||
"""
|
||||
No fields passed to modelformset_factory() should result in no fields
|
||||
on returned forms except for the id (#14119).
|
||||
"""
|
||||
UserFormSet = modelformset_factory(User, fields=())
|
||||
formset = UserFormSet()
|
||||
for form in formset.forms:
|
||||
|
||||
Reference in New Issue
Block a user