mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed #32273 -- Doc'd AdminSite.unregister().
This commit is contained in:
parent
0ecc70b15a
commit
bebd4cfa8f
@ -2953,6 +2953,13 @@ Templates can override or extend base admin templates as described in
|
||||
abstract. and ``django.contrib.admin.sites.AlreadyRegistered`` if a model
|
||||
is already registered.
|
||||
|
||||
.. method:: AdminSite.unregister(model_or_iterable)
|
||||
|
||||
Unregisters the given model class (or iterable of classes).
|
||||
|
||||
Raises ``django.contrib.admin.sites.NotRegistered`` if a model isn't
|
||||
already registered.
|
||||
|
||||
.. _hooking-adminsite-to-urlconf:
|
||||
|
||||
Hooking ``AdminSite`` instances into your URLconf
|
||||
|
@ -748,6 +748,7 @@ unpickled
|
||||
unpickling
|
||||
unpopulated
|
||||
unpythonic
|
||||
Unregisters
|
||||
unrendered
|
||||
unreproducible
|
||||
Unreviewed
|
||||
|
Loading…
Reference in New Issue
Block a user