Opened 4 years ago

Last modified 4 years ago

#31857 closed Bug

Admin side_bar showing up in login form — at Initial Version

Reported by: Fernando Cordeiro Owned by: nobody
Component: contrib.admin Version: 3.1
Severity: Normal Keywords: admin
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When I upgrade to Django 3.1, the new admin navbar started to appear in the login screen. Look:

https://ibb.co/Jm0BdX3

Please note I'm using the django_otp package, that overrides the django's admin.site.__class__ ith their own OTPAdminSite class.

Nevertheless, this could potentially be happening with any other package. Given how sensitive the admin information is, I believe it's safer to set AdminSite.enable_nav_sidebar to False so people's models are not exposed.

Change History (1)

by Fernando Cordeiro, 4 years ago

Attachment: admin_nav_bar.png added

Snapshot of admin login with navbar activated

Note: See TracTickets for help on using tickets.
Back to Top