summaryrefslogtreecommitdiffstats
path: root/_deploy/wsl/localsettingsWSL.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2021-10-24 19:16:01 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2021-10-24 19:16:01 +0300
commit9294c8c2f1c3a08f71f5d7d879746f12a8310a16 (patch)
tree9735a091cdfe1d19be4be135ef6819a950943f94 /_deploy/wsl/localsettingsWSL.py
parent0d7cbbea372400eab03f59785bb40ecb54494150 (diff)
downloadtroggle-9294c8c2f1c3a08f71f5d7d879746f12a8310a16.tar.gz
troggle-9294c8c2f1c3a08f71f5d7d879746f12a8310a16.tar.bz2
troggle-9294c8c2f1c3a08f71f5d7d879746f12a8310a16.zip
remove unneeded LIBDIR
Diffstat (limited to '_deploy/wsl/localsettingsWSL.py')
-rw-r--r--_deploy/wsl/localsettingsWSL.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/_deploy/wsl/localsettingsWSL.py b/_deploy/wsl/localsettingsWSL.py
index b75bccc..ac2fa2d 100644
--- a/_deploy/wsl/localsettingsWSL.py
+++ b/_deploy/wsl/localsettingsWSL.py
@@ -39,8 +39,9 @@ SERVERPORT = '8000' # not needed
# --------------------- MEDIA redirections BEGIN ---------------------
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
-REPOS_ROOT_PATH = Path(__file__).parent.parent
-LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python3.7' # should be finding this automatically: python --version etc.
+REPOS_ROOT_PATH = Path(__file__).parent.parent # We are assuming all 4 repos are siblings.
+version = sys.version_info
+#LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python{}.{}'.format(version.major, version.minor) # eg python 3.7
TROGGLE_PATH = Path(__file__).parent
TEMPLATE_PATH = TROGGLE_PATH / 'templates'
@@ -143,6 +144,7 @@ EMAIL_HOST_USER = "django-test@klebos.net" # Philip Sargent really
EMAIL_PORT=587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'django-test@klebos.net'
+EMAIL_SUBJECT_PREFIX = "[troggle]"
SURVEX_DATA = REPOS_ROOT_PATH / "loser"
DRAWINGS_DATA = REPOS_ROOT_PATH / "drawings"