[Django]-Django Admin Look strange

5👍

from django.contrib import admin

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

Add the above code somewhere in your main urls.py file
This issue has been raising in django 3.1.
It’s not an error. It’s just a new side bar being added therein.
Add the above code to disable it.

Leave a comment