2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

move TEMPLATE to localsettings

This commit is contained in:
Philip Sargent 2020-06-16 19:30:06 +01:00
parent f6bd08029f
commit adc43324f3

View File

@ -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 = (