diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2023-02-08 17:59:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-08 17:59:56 +0100 |
| commit | 1964e4367f293336b47e30af6e10a5eca5fdfb35 (patch) | |
| tree | 1bef364e7562b64b62eaae8d54794c2ea72f12ce /docs | |
| parent | 2fd755b361d3da2cd0440fc9839feb2bb69b027b (diff) | |
Added missing vars to AdminSite.each_context() docs.
Diffstat (limited to 'docs')
| -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 5a2b33ecca..f6db3dca4f 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2830,6 +2830,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 |
