Loading django/contrib/contenttypes/generic.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading docs/ref/contrib/contenttypes.txt +3 −3 Original line number Diff line number Diff line Loading @@ -506,9 +506,9 @@ information. Returns a ``GenericInlineFormSet`` using :func:`~django.forms.models.modelformset_factory`. You must provide ``ct_field`` and ``object_id`` if they different from the defaults, ``content_type`` and ``object_id`` respectively. Other parameters are similar to those documented in You must provide ``ct_field`` and ``fk_field`` if they are different from the defaults, ``content_type`` and ``object_id`` respectively. Other parameters are similar to those documented in :func:`~django.forms.models.modelformset_factory` and :func:`~django.forms.models.inlineformset_factory`. Loading Loading
django/contrib/contenttypes/generic.py +2 −2 Original line number Diff line number Diff line Loading @@ -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 Loading
docs/ref/contrib/contenttypes.txt +3 −3 Original line number Diff line number Diff line Loading @@ -506,9 +506,9 @@ information. Returns a ``GenericInlineFormSet`` using :func:`~django.forms.models.modelformset_factory`. You must provide ``ct_field`` and ``object_id`` if they different from the defaults, ``content_type`` and ``object_id`` respectively. Other parameters are similar to those documented in You must provide ``ct_field`` and ``fk_field`` if they are different from the defaults, ``content_type`` and ``object_id`` respectively. Other parameters are similar to those documented in :func:`~django.forms.models.modelformset_factory` and :func:`~django.forms.models.inlineformset_factory`. Loading