1
0
mirror of https://github.com/django/django.git synced 2025-04-10 16:29:42 +00:00

[4.2.x] Fixed #34419 -- Doc'd django.contrib.admin.sites.all_sites.

Backport of 255f5345904854128647705adcb8d21138e87c63 from main
This commit is contained in:
Edison Wang 2023-04-15 02:28:55 -04:00 committed by Mariusz Felisiak
parent f75a6977e4
commit 5094013134

View File

@ -2824,6 +2824,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
------------------------