mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-25 10:34:21 +00:00
Fix settings to work with toolbar
This commit is contained in:
parent
a4abf50d18
commit
d3514e85f4
@ -27,6 +27,7 @@ SECRET_KEY = '(4sjxvhz@m5$0a$j0_pqicnc$s!vbve)z+&++m%g%bjhlz4+g2'
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
INTERNAL_IPS = ['127.0.0.1']
|
||||
|
||||
ALLOWED_HOSTS = ['*']
|
||||
|
||||
@ -483,6 +484,5 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user