Skip to content
Snippets Groups Projects
Commit d0f4a148 authored by lukeolson's avatar lukeolson
Browse files

fix TEMPLATE_* warnings

this was a simple removal of TEMPLATE_*.  Mostly removing redundancy
that was causing the warnings.
parent baa8b32f
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,6 @@ RELATE_BASE_URL = "http://YOUR/RELATE/SITE/DOMAIN" ...@@ -40,7 +40,6 @@ RELATE_BASE_URL = "http://YOUR/RELATE/SITE/DOMAIN"
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
TEMPLATE_DEBUG = DEBUG
TIME_ZONE = "America/Chicago" TIME_ZONE = "America/Chicago"
......
...@@ -7,8 +7,7 @@ Django settings for RELATE. ...@@ -7,8 +7,7 @@ Django settings for RELATE.
# Do not change this file. All these settings can be overridden in # Do not change this file. All these settings can be overridden in
# local_settings.py. # local_settings.py.
from django.conf.global_settings import ( from django.conf.global_settings import STATICFILES_FINDERS
TEMPLATE_CONTEXT_PROCESSORS, STATICFILES_FINDERS)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os import os
...@@ -135,19 +134,11 @@ RELATE_EXTRA_CONTEXT_PROCESSORS = ( ...@@ -135,19 +134,11 @@ RELATE_EXTRA_CONTEXT_PROCESSORS = (
"course.views.pretend_facilities_context_processor", "course.views.pretend_facilities_context_processor",
"course.exam.exam_lockdown_context_processor", "course.exam.exam_lockdown_context_processor",
) )
TEMPLATE_CONTEXT_PROCESSORS = (
tuple(TEMPLATE_CONTEXT_PROCESSORS)
+ RELATE_EXTRA_CONTEXT_PROCESSORS
)
# }}} # }}}
CRISPY_TEMPLATE_PACK = "bootstrap3" CRISPY_TEMPLATE_PACK = "bootstrap3"
TEMPLATE_DIRS = (
join(BASE_DIR, "relate", "templates"),
)
TEMPLATES = [ TEMPLATES = [
{ {
"BACKEND": "django.template.backends.django.DjangoTemplates", "BACKEND": "django.template.backends.django.DjangoTemplates",
......
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