summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-06-29 14:14:32 -0400
committerTim Graham <timograham@gmail.com>2013-06-29 14:17:38 -0400
commit62a9abeff05e4af61878bff7ff615cd298cf0d7e (patch)
tree871ba783288ff67a51e062fb781b3ca74659781d /django
parentdef1881370dad3bef7808c9ab00800d0b17e8b92 (diff)
[1.5.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report. Backport of 3fd0ee5b46 from master
Diffstat (limited to 'django')
-rw-r--r--django/contrib/contenttypes/generic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/contenttypes/generic.py b/django/contrib/contenttypes/generic.py
index 5690e6b773..e83c83a8ee 100644
--- a/django/contrib/contenttypes/generic.py
+++ b/django/contrib/contenttypes/generic.py
@@ -432,8 +432,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
# Avoid a circular import.