Browse Source

Fix DEBUG_TOOLBAR settings. When DEBUG_TOOLBAR is True in .env, debug toolbar will be configured and used

master
Elwin Buisman 6 months ago
parent
commit
1cb0230abf
  1. 2
      VRE/VRE/settings.py

2
VRE/VRE/settings.py

@ -29,7 +29,7 @@ SECRET_KEY = config('SECRET_KEY') @@ -29,7 +29,7 @@ SECRET_KEY = config('SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = config('DEBUG', default=False, cast=bool)
DEBUG_TOOLBAR = config('DEBUG', default=False, cast=bool)
DEBUG_TOOLBAR = config('DEBUG_TOOLBAR', default=False, cast=bool)
ALLOWED_HOSTS = config('ALLOWED_HOSTS', default='localhost,127.0.0.1', cast=Csv())

Loading…
Cancel
Save