got rid of django 1.8 template debug error
modified: templates/conf/django/files/local.jinja2 modified: templates/conf/gunicorn/files/local.jinja2
This commit is contained in:
parent
b3c1c251fa
commit
8a77bfedd0
2 changed files with 4 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ import logging
|
|||
LOCAL_LOGGING_PREFIX = "%s %%(message)s" % BRANCH
|
||||
logging.basicConfig(format=LOCAL_LOGGING_PREFIX, level=logging.DEBUG)
|
||||
|
||||
configuration = initialize.get_config(BRANCH)
|
||||
configuration = initialize.environment(BRANCH)
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ STATICFILES_DIRS = (
|
|||
|
||||
# debug and debug toolbar settings
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
|
||||
USE_DEBUG_TOOLBAR = DEBUG
|
||||
|
||||
# allow template debug outputs on {{ project_branch }} environment
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import logging
|
|||
LOCAL_LOGGING_PREFIX = "%s %%(message)s" % BRANCH
|
||||
logging.basicConfig(format=LOCAL_LOGGING_PREFIX, level=logging.DEBUG)
|
||||
|
||||
configuration = initialize.get_config(BRANCH)
|
||||
configuration = initialize.environment(BRANCH)
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ STATICFILES_DIRS = (
|
|||
|
||||
# debug and debug toolbar settings
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
TEMPLATES[0]['OPTIONS']['debug'] = DEBUG
|
||||
USE_DEBUG_TOOLBAR = DEBUG
|
||||
|
||||
# allow template debug outputs on {{ project_branch }} environment
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue