summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEdison Wang <49788106+edisonwang03@users.noreply.github.com>2023-04-15 02:28:55 -0400
committerGitHub <noreply@github.com>2023-04-15 08:28:55 +0200
commit255f5345904854128647705adcb8d21138e87c63 (patch)
tree1c9140a57f0c654b5b9d195cceaca463941600f9 /docs
parent198a19b692699ad3940373d9ed797fe9155f3f4a (diff)
downloaddjango-255f5345904854128647705adcb8d21138e87c63.tar.gz
Fixed #34419 -- Doc'd django.contrib.admin.sites.all_sites.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 3fd13b28e8..e856f0b640 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -2831,6 +2831,10 @@ linked to the document in ``{% block dark-mode-vars %}``.
See :ref:`customizing-adminsite` for an example of customizing the
:class:`AdminSite` class.
+.. data:: django.contrib.admin.sites.all_sites
+
+ A :class:`~weakref.WeakSet` contains all admin site instances.
+
``AdminSite`` attributes
------------------------