diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 28857e3f25..29af4cbcba 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -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 diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist index 4c9ffc876c..74a1c30c0c 100644 --- a/docs/spelling_wordlist +++ b/docs/spelling_wordlist @@ -748,6 +748,7 @@ unpickled unpickling unpopulated unpythonic +Unregisters unrendered unreproducible Unreviewed