Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#32273 closed Cleanup/optimization (fixed)

Document AdminSite.unregister().

Reported by: Adam Johnson Owned by: Hasan Ramezani
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As suggested by Muskan Vaswan on django-developers. Several snippets in the documentation use this function, but it's not documented. It should be covered next to AdminSite.register().

Change History (8)

comment:1 by Mariusz Felisiak, 3 years ago

Summary: Document AdminSite.unregister()Document AdminSite.unregister().
Triage Stage: UnreviewedAccepted

comment:2 by Adam Johnson, 3 years ago

Huh. I guess unregister() was missed at that time.

comment:3 by Hasan Ramezani, 3 years ago

Owner: changed from nobody to Hasan Ramezani
Status: newassigned

comment:4 by Hasan Ramezani, 3 years ago

Has patch: set

comment:5 by Adam Johnson, 3 years ago

Triage Stage: AcceptedReady for checkin

comment:6 by GitHub <noreply@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In bebd4cfa:

Fixed #32273 -- Doc'd AdminSite.unregister().

comment:7 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

In da42df93:

[3.1.x] Fixed #32273 -- Doc'd AdminSite.unregister().

Backport of bebd4cfa8f5e0d2dff2de5e50d86e849a40f4bb2 from master

comment:8 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

In 8f38450:

Refs #32273 -- Completed test coverage for AdminSite.unregister().

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