summaryrefslogtreecommitdiffstats
path: root/localsettingsWSL.py
diff options
context:
space:
mode:
Diffstat (limited to 'localsettingsWSL.py')
-rw-r--r--localsettingsWSL.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/localsettingsWSL.py b/localsettingsWSL.py
index d9b7d47..4296be4 100644
--- a/localsettingsWSL.py
+++ b/localsettingsWSL.py
@@ -26,7 +26,9 @@ print(" * importing troggle/localsettings.py")
#-----------------------------------------------------------------
SERVERPORT = '8000'
+EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever
#SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely
+
# --------------------- MEDIA redirections BEGIN ---------------------
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
REPOS_ROOT_PATH = Path(__file__).parent.parent
@@ -65,8 +67,8 @@ PUBLIC_SITE = True
DEBUG = True # Always keep this True, even when on public server. Otherwise NO USEFUL ERROR MESSAGES !
# executables:
-CAVERN = 'cavern'
-SURVEXPORT = 'survexport'
+CAVERN = 'cavern' # for parsing .svx files and producing .3d files
+SURVEXPORT = 'survexport' # for parsing .3d files and producing .pos files
DATABASES = {
'default': {
@@ -141,7 +143,7 @@ SURVEYS_URL = '/survey_scans/'
EXPOFILES ='/mnt/f/expofiles/'
# Sanitise these to be strings as all other code is expecting strings
-# and we have not made the chnage to pathlib Path type in the other localsettings-* variants yet.
+# and we have not made the change to pathlib Path type in the other localsettings-* variants yet.
CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS)
ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS)
LOGFILE = os.fspath(LOGFILE)