Code

Opened 3 years ago

Closed 21 months ago

Last modified 21 months ago

#16841 closed Cleanup/optimization (fixed)

get_changelist_form and get_changelist_formset should be added to the documentation

Reported by: jordanreiter Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently the get_changelist_form is an undocumented feature. It should be added as one of the listed methods here:
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-methods

Attachments (0)

Change History (7)

comment:1 Changed 3 years ago by carljm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from get_changelist_form should be added to the documentation to get_changelist_form and get_changelist_formset should be added to the documentation
  • Triage Stage changed from Unreviewed to Accepted

If get_changelist_form is documented, get_changelist_formset should be as well.

comment:2 Changed 3 years ago by julien

ModelAdmin.get_form, ModelAdmin.get_formsets and InlineModelAdmin.get_formset could be as well, while we're at it :)

comment:3 Changed 3 years ago by julien

  • Type changed from Uncategorized to Cleanup/optimization

comment:4 Changed 3 years ago by julien

See also #17006.

comment:5 Changed 2 years ago by rasca

See also #17646

comment:6 Changed 21 months ago by Tim Graham <timograham@…>

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

In 39f5bc7fc3a4bb43ed8a1358b17fe0521a1a63ac:

Fixed #16841 - Documented a couple ModelAdmin methods

  • ModelAdmin.get_changelist_form and get_changelist_formset
  • InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.

comment:7 Changed 21 months ago by Tim Graham <timograham@…>

In 4a9b3826fdfa1d78f640d4fee922005ed8210498:

[1.5.X] Fixed #16841 - Documented a couple ModelAdmin methods

  • ModelAdmin.get_changelist_form and get_changelist_formset
  • InlineModelAdmin.get_formset

Thanks Jordan Reiter for the report.

Backport of 39f5bc7fc3 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.