mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
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>
This commit is contained in:
parent
d6aff369ad
commit
d24ba1be7a
17 changed files with 337 additions and 44 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue