mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-16 14:27:03 +00:00
new remote expofiles option
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user