Code

Opened 13 months ago

Closed 13 months ago

Last modified 13 months 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:
Needs tests: Patch needs improvement:
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"

Attachments (0)

Change History (2)

comment:1 Changed 13 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 13 months ago by Tim Graham <timograham@…>

In 62a9abeff05e4af61878bff7ff615cd298cf0d7e:

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

Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.