From adc43324f3ba4640ec869ddbfbada3d30ebb2792 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 16 Jun 2020 19:30:06 +0100 Subject: [PATCH] move TEMPLATE to localsettings --- settings.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/settings.py b/settings.py index 9cbb598..5fd8346 100644 --- a/settings.py +++ b/settings.py @@ -30,7 +30,7 @@ print("** importing troggle/settings.py") BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # Django settings for troggle project. -DEBUG = True + ALLOWED_HOSTS = ['expo.survex.com','localhost', '127.0.0.1'] @@ -95,17 +95,6 @@ SMART_APPEND_SLASH = True # Make this unique, and don't share it with anybody. SECRET_KEY = 'a#vaeozn0)uz_9t_%v5n#tj)m+%ace6b_0(^fj!355qki*v)j2' -TEMPLATES = [{}] -TEMPLATE_DEBUG = DEBUG - -# List of callables that know how to import templates from various sources. -TEMPLATE_LOADERS = ( - 'django.template.loaders.filesystem.Loader', - 'django.template.loaders.app_directories.Loader', -) -authmodule = 'django.contrib.auth.context_processors.auth' -TEMPLATE_CONTEXT_PROCESSORS = ( authmodule, "core.context.troggle_context", ) - LOGIN_REDIRECT_URL = '/' INSTALLED_APPS = (