diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2023-02-08 17:59:56 +0100 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2023-02-08 18:00:37 +0100 |
| commit | efe16fd72a957550e5da699a543a40580ed26551 (patch) | |
| tree | 77fd0de4371a513b5db1db3c5e8b996f9678bfa2 | |
| parent | 836ae73a8962876a3beb98bc711fa397d700c82f (diff) | |
[4.2.x] Added missing vars to AdminSite.each_context() docs.
Backport of 1964e4367f293336b47e30af6e10a5eca5fdfb35 from main
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 28a874b602..ec1450fa83 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2871,6 +2871,9 @@ Templates can override or extend base admin templates as described in * ``admin_url``: admin changelist URL for the model * ``add_url``: admin URL to add a new model instance + * ``is_popup``: whether the current page is displayed in a popup window + * ``is_nav_sidebar_enabled``: :attr:`AdminSite.enable_nav_sidebar` + .. method:: AdminSite.get_app_list(request, app_label=None) Returns a list of applications from the :doc:`application registry |
