Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#27076 closed Cleanup/optimization (fixed)

Document django.contrib.admin.sites.AdminSite.register()

Reported by: Baptiste Mispelon Owned by: Austin Simmons
Component: Documentation Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: yes UI/UX: no

Description

There's a list of AdminSite methods at https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#adminsite-methods but for some reason, it doesn't contain register() which is used in many of the examples on that page.

This being the reference page, I think the method should be documented.

Change History (5)

comment:1 by Tim Graham, 8 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Austin Simmons, 8 years ago

Owner: changed from nobody to Austin Simmons
Status: newassigned

comment:3 by Tim Graham, 8 years ago

Has patch: set
Patch needs improvement: set

PR with comments for improvement.

comment:4 by Tim Graham <timograham@…>, 8 years ago

Resolution: fixed
Status: assignedclosed

In 0f6829a:

Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().

comment:5 by Tim Graham <timograham@…>, 8 years ago

In 933ebfad:

[1.10.x] Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().

Backport of 0f6829a68afb91abfdea8489008ebffac3d5220c from master

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