mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
remove unneeded LIBDIR
This commit is contained in:
parent
0d7cbbea37
commit
9294c8c2f1
@ -39,8 +39,9 @@ SERVERPORT = '8000' # not needed
|
|||||||
|
|
||||||
# --------------------- MEDIA redirections BEGIN ---------------------
|
# --------------------- MEDIA redirections BEGIN ---------------------
|
||||||
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
|
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
|
||||||
REPOS_ROOT_PATH = Path(__file__).parent.parent
|
REPOS_ROOT_PATH = Path(__file__).parent.parent # We are assuming all 4 repos are siblings.
|
||||||
LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python3.7' # should be finding this automatically: python --version etc.
|
version = sys.version_info
|
||||||
|
#LIBDIR = REPOS_ROOT_PATH / 'lib' / 'python{}.{}'.format(version.major, version.minor) # eg python 3.7
|
||||||
|
|
||||||
TROGGLE_PATH = Path(__file__).parent
|
TROGGLE_PATH = Path(__file__).parent
|
||||||
TEMPLATE_PATH = TROGGLE_PATH / 'templates'
|
TEMPLATE_PATH = TROGGLE_PATH / 'templates'
|
||||||
@ -143,6 +144,7 @@ EMAIL_HOST_USER = "django-test@klebos.net" # Philip Sargent really
|
|||||||
EMAIL_PORT=587
|
EMAIL_PORT=587
|
||||||
EMAIL_USE_TLS = True
|
EMAIL_USE_TLS = True
|
||||||
DEFAULT_FROM_EMAIL = 'django-test@klebos.net'
|
DEFAULT_FROM_EMAIL = 'django-test@klebos.net'
|
||||||
|
EMAIL_SUBJECT_PREFIX = "[troggle]"
|
||||||
|
|
||||||
SURVEX_DATA = REPOS_ROOT_PATH / "loser"
|
SURVEX_DATA = REPOS_ROOT_PATH / "loser"
|
||||||
DRAWINGS_DATA = REPOS_ROOT_PATH / "drawings"
|
DRAWINGS_DATA = REPOS_ROOT_PATH / "drawings"
|
||||||
|
@ -38,6 +38,7 @@ def pathsreport(request):
|
|||||||
"EXPOWEB" : str( settings.EXPOWEB),
|
"EXPOWEB" : str( settings.EXPOWEB),
|
||||||
"EXPOWEB_URL" : str( settings.EXPOWEB_URL),
|
"EXPOWEB_URL" : str( settings.EXPOWEB_URL),
|
||||||
"FILES" : str( settings.FILES),
|
"FILES" : str( settings.FILES),
|
||||||
|
# "LIBDIR" : str( settings.LIBDIR),
|
||||||
"LOGFILE" : str( settings.LOGFILE),
|
"LOGFILE" : str( settings.LOGFILE),
|
||||||
"LOGIN_REDIRECT_URL" : str( settings.LOGIN_REDIRECT_URL),
|
"LOGIN_REDIRECT_URL" : str( settings.LOGIN_REDIRECT_URL),
|
||||||
"MEDIA_ROOT" : str( settings.MEDIA_ROOT),
|
"MEDIA_ROOT" : str( settings.MEDIA_ROOT),
|
||||||
@ -75,6 +76,7 @@ def pathsreport(request):
|
|||||||
"EXPOWEB" : type(settings.EXPOWEB),
|
"EXPOWEB" : type(settings.EXPOWEB),
|
||||||
"EXPOWEB_URL" : type(settings.EXPOWEB_URL),
|
"EXPOWEB_URL" : type(settings.EXPOWEB_URL),
|
||||||
"FILES" : type(settings.FILES),
|
"FILES" : type(settings.FILES),
|
||||||
|
# "LIBDIR" : type( settings.LIBDIR),
|
||||||
"LOGFILE" : type(settings.LOGFILE),
|
"LOGFILE" : type(settings.LOGFILE),
|
||||||
"LOGIN_REDIRECT_URL" : type(settings.LOGIN_REDIRECT_URL),
|
"LOGIN_REDIRECT_URL" : type(settings.LOGIN_REDIRECT_URL),
|
||||||
"MEDIA_ROOT" : type(settings.MEDIA_ROOT),
|
"MEDIA_ROOT" : type(settings.MEDIA_ROOT),
|
||||||
|
Loading…
Reference in New Issue
Block a user