Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#20677 closed Bug (fixed)

generic_inlineformset_factory details incorrect

Reported by: Riley Strong <eponymous@…> Owned by: nobody
Component: contrib.contenttypes Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

https://docs.djangoproject.com/en/1.5/ref/contrib/contenttypes/#django.contrib.contenttypes.generic.generic_inlineformset_factory

Reads:

You must provide ct_field and object_id if they different from the defaults, content_type and object_id respectively.

(emphasis added)

  1. The bolded object_id should be fk_field.
  2. Should read "if they are different from the defaults"

Change History (2)

comment:1 by Tim Graham <timograham@…>, 11 years ago

Resolution: fixed
Status: newclosed

In b930733a67cbc1235daf675de06d73e3b6406113:

[1.6.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.

Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master

comment:2 by Tim Graham <timograham@…>, 11 years ago

In 62a9abeff05e4af61878bff7ff615cd298cf0d7e:

[1.5.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.

Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master

Note: See TracTickets for help on using tickets.
Back to Top