1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

[1.5.x] Fixed #19477 - Documented generic_inlineformset_factory

Thanks epicserve for the suggestion.

Backport of 214fb700b9 from master
This commit is contained in:
Tim Graham
2013-01-22 16:13:57 -05:00
parent 34718395ed
commit dc0bf53276
2 changed files with 24 additions and 9 deletions

View File

@@ -430,7 +430,7 @@ def generic_inlineformset_factory(model, form=ModelForm,
max_num=None,
formfield_callback=None):
"""
Returns an ``GenericInlineFormSet`` for the given kwargs.
Returns a ``GenericInlineFormSet`` for the given kwargs.
You must provide ``ct_field`` and ``object_id`` if they different from the
defaults ``content_type`` and ``object_id`` respectively.