diff options
Diffstat (limited to 'localsettings.py')
-rw-r--r-- | localsettings.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/localsettings.py b/localsettings.py index 2e79d50..b0853e7 100644 --- a/localsettings.py +++ b/localsettings.py @@ -41,6 +41,11 @@ TROGGLE_PATH = Path(__file__).parent TEMPLATE_PATH = os.fspath(TROGGLE_PATH / 'templates') MEDIA_ROOT = os.fspath(TROGGLE_PATH / 'media') +FILES = Path('/mnt/f/expofiles/') +EXPOFILES = Path('/mnt/f/expofiles/') +SURVEY_SCANS = EXPOFILES / 'surveyscans' +PHOTOS_ROOT = EXPOFILES / 'photos' + # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). MEDIA_URL = '/site-media/' @@ -129,21 +134,16 @@ EMAIL_PORT=587 EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = 'django-test@klebos.net' - - SURVEX_DATA = REPOS_ROOT_PATH / "loser" TUNNEL_DATA = REPOS_ROOT_PATH / "drawings" THREEDCACHEDIR = REPOS_ROOT_PATH / 'expowebcache' / '3d' EXPOWEB = REPOS_ROOT_PATH / "expoweb" SURVEYS = REPOS_ROOT_PATH -SURVEY_SCANS = '/mnt/f/expofiles/surveyscans/' -FILES = '/mnt/f/expofiles/' CAVEDESCRIPTIONS = EXPOWEB / "cave_data" ENTRANCEDESCRIPTIONS = EXPOWEB / "entrance_data" EXPOWEB_URL = '' 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 change to pathlib Path type in the other localsettings-* variants yet. |