diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-12-12 17:09:36 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-12-12 17:09:36 +0000 |
commit | 7730b2535f1f88740ac1f683b608d594054f7db8 (patch) | |
tree | 11ec2a8739634643bda67c53676f7dd17eb72e58 /_deploy | |
parent | 321f912083633417b7bc050f8c139fdfd724357e (diff) | |
download | troggle-7730b2535f1f88740ac1f683b608d594054f7db8.tar.gz troggle-7730b2535f1f88740ac1f683b608d594054f7db8.tar.bz2 troggle-7730b2535f1f88740ac1f683b608d594054f7db8.zip |
tidying
Diffstat (limited to '_deploy')
-rw-r--r-- | _deploy/wsl/localsettingsWSL.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/_deploy/wsl/localsettingsWSL.py b/_deploy/wsl/localsettingsWSL.py index 3f43c11..5bc647e 100644 --- a/_deploy/wsl/localsettingsWSL.py +++ b/_deploy/wsl/localsettingsWSL.py @@ -25,17 +25,19 @@ print(" * importing troggle/localsettings.py") # - have you checked that credentials.py is in .gitignore ? # - we don't want to have to change the expo system password ! # ----------------------------------------------------------------- -# default values, real secrets imported from credentials.py +# default values, real secrets will be imported from credentials.py in future SECRET_KEY = "real-SECRET_KEY--imported-from-localsettings.py" EXPOUSERPASS = "nnn:gggggg - real-expo-password---imported-from-localsettings.py" EXPOADMINUSERPASS = "gggggg:nnn - real-expo-password---imported-from-localsettings.py" EMAIL_HOST_PASSWORD = "real-email-password---imported-from-localsettings.py" -EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever. Tests are then less accurate. -# SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely +SQLITEFILE = "/home/philip/expo/troggle.sqlite" # can be ':memory:' -SERVERPORT = "8000" # not needed +PHOTOSREMOTE = False # if True, then re-routes urls in expofiles/photos to remote server. Not implemented yet +EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote server. Tests are then less accurate. +# SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely +SERVERPORT = "8000" # not needed as it is the default PV = "python" + str(sys.version_info.major) + "." + str(sys.version_info.minor) @@ -95,7 +97,7 @@ SURVEXPORT = "survexport" # for parsing .3d files and producing .pos files DBSQLITE = { "default": { "ENGINE": "django.db.backends.sqlite3", # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'. - "NAME": "/home/philip/expo/troggle.sqlite", + "NAME": SQLITEFILE, # 'NAME' : ':memory:', "USER": "expo", # Not used with sqlite3. "PASSWORD": "sekrit", # Not used with sqlite3. |