diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2020-06-16 19:30:06 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2020-06-16 19:30:06 +0100 |
commit | adc43324f3ba4640ec869ddbfbada3d30ebb2792 (patch) | |
tree | 93187dcf53f8892f2eca3b1a7e2eb7023c12c719 /settings.py | |
parent | f6bd08029f4bcb9e65dee3bc947bc8f1fd490a65 (diff) | |
download | troggle-adc43324f3ba4640ec869ddbfbada3d30ebb2792.tar.gz troggle-adc43324f3ba4640ec869ddbfbada3d30ebb2792.tar.bz2 troggle-adc43324f3ba4640ec869ddbfbada3d30ebb2792.zip |
move TEMPLATE to localsettings
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 13 |
1 files changed, 1 insertions, 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 = ( |