Skip to content

Instantly share code, notes, and snippets.

@victorouttes
Last active January 31, 2022 12:40
Show Gist options
  • Save victorouttes/1151693ee0b5b993a04accf9de962040 to your computer and use it in GitHub Desktop.
Save victorouttes/1151693ee0b5b993a04accf9de962040 to your computer and use it in GitHub Desktop.
Django sidebar Bug

Para corrigir o bug da sidebar do admin do django, coloque isto no seu urls.py principal:

from django.contrib import admin

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

[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment