Created
June 11, 2016 16:50
-
-
Save camilonova/416a7c0b2112101bf1c75b293cffbbca to your computer and use it in GitHub Desktop.
Show django debug toolbar always when debug=True
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEBUG = True | |
DEBUG_TOOLBAR_CONFIG = { | |
'SHOW_TOOLBAR_CALLBACK': lambda x: DEBUG, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment