The Python Oracle

Django Admin Sidebar Bug

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Life in a Drop

--

Chapters
00:00 Question
00:55 Accepted answer (Score 7)
01:18 Thank you

--

Full question
https://stackoverflow.com/questions/6401...

Question links:
[image]: https://i.stack.imgur.com/Aj1DE.png

Accepted answer links:
[this link]: https://stackoverflow.com/questions/6328...#

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #css #django #admin

#avk47



ACCEPTED ANSWER

Score 7


In your projects' root urls.py file, simply add the below code to disable the new sidebar feature.

from django.contrib import admin

admin.autodiscover()
admin.site.enable_nav_sidebar = False

Thanks to The Go company from this link.