From d43ce1bdb278c021d18e9a5af26f68dc2711c7f1 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 26 Apr 2021 18:42:10 +0100 Subject: rename TUNNEL_DATA as DRAWINGS_DATA --- localsettingsWSL.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'localsettingsWSL.py') diff --git a/localsettingsWSL.py b/localsettingsWSL.py index 76dc3aa..f9e2dd1 100644 --- a/localsettingsWSL.py +++ b/localsettingsWSL.py @@ -112,14 +112,14 @@ TEMPLATES = [ 'context_processors': [ # django.template.context_processors.csrf, # is always enabled and cannot be removed, sets csrf_token 'django.contrib.auth.context_processors.auth', # knowledge of logged-on user & permissions - 'core.context.troggle_context', # in core/troggle.py + 'core.context.troggle_context', # in core/troggle.py - only used in expedition.html 'django.template.context_processors.debug', - #'django.template.context_processors.request', # copy of current request, added in trying to make csrf work 'django.template.context_processors.i18n', 'django.template.context_processors.media', # includes a variable MEDIA_URL 'django.template.context_processors.static', # includes a variable STATIC_URL 'django.template.context_processors.tz', - 'django.contrib.messages.context_processors.messages', + 'django.template.context_processors.request', # must be enabled in DjangoTemplates (TEMPLATES) in order to use the admin navigation sidebar. + 'django.contrib.messages.context_processors.messages', ], 'loaders': [ 'django.template.loaders.filesystem.Loader', # default lcation is troggle/templates/ @@ -145,7 +145,7 @@ EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = 'django-test@klebos.net' SURVEX_DATA = REPOS_ROOT_PATH / "loser" -TUNNEL_DATA = REPOS_ROOT_PATH / "drawings" +DRAWINGS_DATA = REPOS_ROOT_PATH / "drawings" THREEDCACHEDIR = REPOS_ROOT_PATH / 'expowebcache' / '3d' EXPOWEB = REPOS_ROOT_PATH / "expoweb" @@ -163,7 +163,7 @@ LOGFILE = os.fspath(LOGFILE) SURVEYS = os.fspath(SURVEYS) EXPOWEB = os.fspath(EXPOWEB) THREEDCACHEDIR = os.fspath(THREEDCACHEDIR) -TUNNEL_DATA = os.fspath(TUNNEL_DATA) +DRAWINGS_DATA = os.fspath(DRAWINGS_DATA) SURVEX_DATA = os.fspath(SURVEX_DATA) REPOS_ROOT_PATH = os.fspath(REPOS_ROOT_PATH) TEMPLATE_PATH = os.fspath(TROGGLE_PATH) -- cgit v1.2.3