diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-02-06 18:52:46 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-02-06 18:52:46 +0000 |
commit | a61751e1fbb8a30804054042927304bd2b250062 (patch) | |
tree | e5890bb8d41ab1a9b758e12902e705dad4e1ddf5 /_deploy | |
parent | 422d2324e892d0220f28d328d0d6830fa09c4825 (diff) | |
download | troggle-a61751e1fbb8a30804054042927304bd2b250062.tar.gz troggle-a61751e1fbb8a30804054042927304bd2b250062.tar.bz2 troggle-a61751e1fbb8a30804054042927304bd2b250062.zip |
remove // in URLs
Diffstat (limited to '_deploy')
-rw-r--r-- | _deploy/wsl/localsettingsWSL.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/_deploy/wsl/localsettingsWSL.py b/_deploy/wsl/localsettingsWSL.py index 60d1c56..335a724 100644 --- a/_deploy/wsl/localsettingsWSL.py +++ b/_deploy/wsl/localsettingsWSL.py @@ -52,18 +52,17 @@ TEMPLATE_PATH = TROGGLE_PATH / "templates" MEDIA_ROOT = TROGGLE_PATH / "media" JSLIB_ROOT = TROGGLE_PATH / "media" / "jslib" # used for CaveViewer JS utility +# FILES = Path('/mnt/d/expofiles/') EXPOFILES = REPOS_ROOT_PATH / "expofiles" SCANS_ROOT = EXPOFILES / "surveyscans" -PHOTOS_ROOT = Path("/mnt/d/EXPO/PHOTOS") +PHOTOS_ROOT = EXPOFILES / "photos" PHOTOS_YEAR = "2023" NOTABLECAVESHREFS = ["290", "291", "264", "258", "204", "359", "76", "107"] PYTHON_PATH = REPOS_ROOT_PATH / "troggle" LOGFILE = PYTHON_PATH / "troggle.log" -SQLITEDB = PYTHON_PATH / "troggle.sqlite" -KMZ_ICONS_PATH = PYTHON_PATH / "kmz_icons" # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). @@ -86,17 +85,17 @@ JSLIB_URL = Path(URL_ROOT, "/javascript/") # used for CaveViewer JS utility # --------------------- MEDIA redirections END --------------------- PUBLIC_SITE = True -DEBUG = True # Always keep this True, even when on public server. Otherwise NO USEFUL ERROR MESSAGES ! -CACHEDPAGES = True # experimental page cache for a handful of page types +DEBUG = True # Always keep this True, even when on public server. Otherwise NO USEFUL ERROR MESSAGES ! +CACHEDPAGES = True # experimental page cache for a handful of page types # executables: -CAVERN = "cavern" # for parsing .svx files and producing .3d files +CAVERN = "cavern" # for parsing .svx files and producing .3d files SURVEXPORT = "survexport" # for parsing .3d files and producing .pos files DBSQLITE = { "default": { "ENGINE": "django.db.backends.sqlite3", # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. - "NAME": str(SQLITEDB), + "NAME": "/home/philip/p11d5/troggle.sqlite", # 'NAME' : ':memory:', "USER": "expo", # Not used with sqlite3. "PASSWORD": "sekrit", # Not used with sqlite3. @@ -134,7 +133,7 @@ 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 - only used in expedition.html + "core.context.troggle_context", # in core/context.py - only used in expedition.html "django.template.context_processors.debug", "django.template.context_processors.i18n", "django.template.context_processors.media", # includes a variable MEDIA_URL @@ -168,7 +167,7 @@ EXPOWEB = REPOS_ROOT_PATH / "expoweb" CAVEDESCRIPTIONS = EXPOWEB / "cave_data" ENTRANCEDESCRIPTIONS = EXPOWEB / "entrance_data" -EXPOWEB_URL = "" +# EXPOWEB_URL = "" # defunct, removed. # SCANS_URL = '/survey_scans/' # defunct, removed. sys.path.append(str(REPOS_ROOT_PATH)) |