mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Add Django debug toolbar
This commit is contained in:
@ -481,3 +481,8 @@ try:
|
||||
print("Custom settings imported")
|
||||
except:
|
||||
print("Custom settings failed")
|
||||
|
||||
if DEBUG:
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
INSTALLED_APPS += ("debug_toolbar",)
|
||||
MIDDLEWARE_CLASSES = ('debug_toolbar.middleware.DebugToolbarMiddleware',) + MIDDLEWARE_CLASSES
|
||||
|
Reference in New Issue
Block a user