mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report.
This commit is contained in:
@@ -434,8 +434,8 @@ def generic_inlineformset_factory(model, form=ModelForm,
|
||||
"""
|
||||
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.
|
||||
You must provide ``ct_field`` and ``fk_field`` if they are different from
|
||||
the defaults ``content_type`` and ``object_id`` respectively.
|
||||
"""
|
||||
opts = model._meta
|
||||
# if there is no field called `ct_field` let the exception propagate
|
||||
|
||||
Reference in New Issue
Block a user