summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTom Carrick <knyght@knyg.ht>2020-05-06 10:29:51 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-11 18:16:38 +0200
commitd24ba1be7a53a113d19e2860c03aff9922efec24 (patch)
tree50549f65e023c3ab94db2bc3b902405a58051f40 /docs/ref
parentd6aff369ad33457ae2355b5b210faf1c4890ff35 (diff)
Fixed #31034 -- Added a navigation sidebar to the admin.
Co-authored-by: elky <elky@users.noreply.github.com> Co-authored-by: Goetz <goetz.buerkle@gmail.com>
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/admin/index.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 89c204c177..e5ec730c82 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -2841,6 +2841,13 @@ Templates can override or extend base admin templates as described in
setting an ``empty_value_display`` attribute on the field. See
:attr:`ModelAdmin.empty_value_display` for examples.
+.. attribute:: AdminSite.enable_nav_sidebar
+
+ .. versionadded:: 3.1
+
+ A boolean value that determines whether to show the navigation sidebar
+ on larger screens. By default, it is set to ``True``.
+
.. attribute:: AdminSite.login_template
Path to a custom template that will be used by the admin site login view.