Skip to content
Snippets Groups Projects
Commit e331f014 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by Alexander Pace
Browse files

small additional modernization of TEMPLATE settings

parent cabd53cc
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ USE_TZ = True
ALLOWED_HOSTS = ['*']
DEBUG = False
TEMPLATE_DEBUG = DEBUG
MAINTENANCE_MODE = False
ADMINS = (
......@@ -242,15 +241,16 @@ TEMPLATES = [
],
'APP_DIRS': True,
'OPTIONS': {
'debug': True,
'context_processors': [
# Defaults
'django.contrib.auth.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',
'django.core.context_processors.static',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
# Extra additions
'django.core.context_processors.request',
'django.template.context_processors.request',
'gracedb.middleware.auth.LigoAuthContext',
'middleware.debug.LigoDebugContext',
'ligoauth.context_processors.shib_login_url',
......
......@@ -4,8 +4,6 @@ CONFIG_NAME = "TEST"
# Debug settings
DEBUG = True
# Template debugging help
TEMPLATE_DEBUG = DEBUG
# Don't let debug toolbar edit settings
DEBUG_TOOLBAR_PATCH_SETTINGS = False
......
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