Skip to content
Snippets Groups Projects
Unverified Commit acabdf53 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Merge branch 'master' into issue51

parents 744aec6a c76a13db
No related branches found
No related tags found
1 merge request!28Implement maintenance mode. Closes #51.
Subproject commit 23d599773cda76d325f70e35aa110eb24c72ffb7
Subproject commit 06fb1ef1908b8dfdcbb09821f53ff422fa182877
Subproject commit 126991b9e0fc01a2ebe4628c38d2982a6f8eb2c4
Subproject commit b8c25a5928e7c86543e2d3bab1fb6b78e513b344
......@@ -29,7 +29,12 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = _settings.get('secret_key', 'DoNotUseInProduction')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = _settings.get('debug', False)
DEBUG = _settings.get('debug.enabled', False)
INTERNAL_IPS = _settings.get('debug.internal_ips', [])
DEBUG_TOOLBAR_CONFIG = {
'RENDER_PANELS': True,
'SHOW_COLLAPSED': True
}
ALLOWED_HOSTS = _settings.get('http.allowed_hosts', [])
......@@ -52,6 +57,7 @@ INSTALLED_APPS = [
'maintenance_mode',
'menu_generator',
'phonenumber_field',
'debug_toolbar',
'biscuit.core'
]
......@@ -72,6 +78,7 @@ SASS_PROCESSOR_INCLUDE_DIRS = [
]
MIDDLEWARE = [
'debug_toolbar.middleware.DebugToolbarMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
......
......@@ -24,6 +24,7 @@ Django = "^2.2"
django-any-js = "^1.0"
django-bootstrap4 = "^0.0.8"
django-fa = "^1.0"
django-debug-toolbar = "^2.0"
django-easy-audit = "^1.1"
django-middleware-global-request = "^0.1.2"
django-menu-generator = "^1.0.4"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment