From d0f4a1480576e66b0461a6ebd0f588bcc4cadb65 Mon Sep 17 00:00:00 2001
From: lukeolson <luke.olson@gmail.com>
Date: Sat, 30 Jan 2016 00:15:04 -0600
Subject: [PATCH] fix TEMPLATE_* warnings

this was a simple removal of TEMPLATE_*.  Mostly removing redundancy
that was causing the warnings.
---
 local_settings.py.example |  1 -
 relate/settings.py        | 11 +----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/local_settings.py.example b/local_settings.py.example
index e9bf8846..03b7c3c6 100644
--- a/local_settings.py.example
+++ b/local_settings.py.example
@@ -40,7 +40,6 @@ RELATE_BASE_URL = "http://YOUR/RELATE/SITE/DOMAIN"
 
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = True
-TEMPLATE_DEBUG = DEBUG
 
 TIME_ZONE = "America/Chicago"
 
diff --git a/relate/settings.py b/relate/settings.py
index 0d13dce3..75f78371 100644
--- a/relate/settings.py
+++ b/relate/settings.py
@@ -7,8 +7,7 @@ Django settings for RELATE.
 # Do not change this file. All these settings can be overridden in
 # local_settings.py.
 
-from django.conf.global_settings import (
-        TEMPLATE_CONTEXT_PROCESSORS, STATICFILES_FINDERS)
+from django.conf.global_settings import STATICFILES_FINDERS
 
 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
 import os
@@ -135,19 +134,11 @@ RELATE_EXTRA_CONTEXT_PROCESSORS = (
             "course.views.pretend_facilities_context_processor",
             "course.exam.exam_lockdown_context_processor",
             )
-TEMPLATE_CONTEXT_PROCESSORS = (
-        tuple(TEMPLATE_CONTEXT_PROCESSORS)
-        + RELATE_EXTRA_CONTEXT_PROCESSORS
-        )
 
 # }}}
 
 CRISPY_TEMPLATE_PACK = "bootstrap3"
 
-TEMPLATE_DIRS = (
-        join(BASE_DIR, "relate", "templates"),
-        )
-
 TEMPLATES = [
     {
         "BACKEND": "django.template.backends.django.DjangoTemplates",
-- 
GitLab