diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-26 18:42:10 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-26 18:42:10 +0100 |
commit | d43ce1bdb278c021d18e9a5af26f68dc2711c7f1 (patch) | |
tree | 6da5c238304ee8d14103f9debe30f7d39eafe57d /localsettingsWSL.py | |
parent | bd647b99ec7bd4ae9d3b8b7a6f5b0c274f90bb2e (diff) | |
download | troggle-d43ce1bdb278c021d18e9a5af26f68dc2711c7f1.tar.gz troggle-d43ce1bdb278c021d18e9a5af26f68dc2711c7f1.tar.bz2 troggle-d43ce1bdb278c021d18e9a5af26f68dc2711c7f1.zip |
rename TUNNEL_DATA as DRAWINGS_DATA
Diffstat (limited to 'localsettingsWSL.py')
-rw-r--r-- | localsettingsWSL.py | 10 |
1 files changed, 5 insertions, 5 deletions
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) |