mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #9171 -- Fixed a few places where we were assuming lists instead of
generic sequences in ModelForm structures. Patch from mrmachine. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -51,5 +51,7 @@ Traceback (most recent call last):
|
||||
Exception: <class 'regressiontests.inline_formsets.models.Child'> has no field named 'test'
|
||||
|
||||
|
||||
# Regression test for #9171.
|
||||
>>> ifs = inlineformset_factory(Parent, Child, exclude=('school',), fk_name='mother')
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user