From 255f5345904854128647705adcb8d21138e87c63 Mon Sep 17 00:00:00 2001 From: Edison Wang <49788106+edisonwang03@users.noreply.github.com> Date: Sat, 15 Apr 2023 02:28:55 -0400 Subject: [PATCH] Fixed #34419 -- Doc'd django.contrib.admin.sites.all_sites. --- docs/ref/contrib/admin/index.txt | 4 ++++ 1 file changed, 4 insertions(+) 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 ------------------------