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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user