Skip to content

Commit

Permalink
Example project: move TEMPLATE_DEBUG option to TEMPLATES section
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Braak committed Aug 23, 2015
1 parent d3dc21b commit fcd222d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_project/example_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
sys.path.append(str(BASE_DIR.parent))

DEBUG = True
TEMPLATE_DEBUG = DEBUG

DATABASES = dict(
default=dict(
Expand Down Expand Up @@ -65,6 +64,7 @@
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,
'OPTIONS': {
'debug': DEBUG,
'context_processors': [
"django.contrib.auth.context_processors.auth",
"django.template.context_processors.debug",
Expand Down

0 comments on commit fcd222d

Please sign in to comment.