From 1468c49723347b972f5e5a021e08801772ff354a Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 27 Jul 2022 23:23:43 +0300 Subject: [PATCH] remove unused SCANS_URL --- _deploy/wsl/localsettingsWSL.py | 2 +- core/views/statistics.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_deploy/wsl/localsettingsWSL.py b/_deploy/wsl/localsettingsWSL.py index c57a35b..2584732 100644 --- a/_deploy/wsl/localsettingsWSL.py +++ b/_deploy/wsl/localsettingsWSL.py @@ -178,7 +178,7 @@ EXPOWEB = REPOS_ROOT_PATH / "expoweb" CAVEDESCRIPTIONS = EXPOWEB / "cave_data" ENTRANCEDESCRIPTIONS = EXPOWEB / "entrance_data" EXPOWEB_URL = '' -SCANS_URL = '/survey_scans/' +# SCANS_URL = '/survey_scans/' # defunct, removed. # 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. diff --git a/core/views/statistics.py b/core/views/statistics.py index 9e7ff81..15858d3 100644 --- a/core/views/statistics.py +++ b/core/views/statistics.py @@ -51,7 +51,7 @@ def pathsreport(request): "SURVEX_DATA" : str( settings.SURVEX_DATA), "SCANS_ROOT" : str( settings.SCANS_ROOT), # "SURVEYS" : str( settings.SURVEYS), - "SCANS_URL" : str( settings.SCANS_URL), +# "SCANS_URL" : str( settings.SCANS_URL), "SURVEXPORT" : str( settings.SURVEXPORT), "DRAWINGS_DATA" : str( settings.DRAWINGS_DATA), "URL_ROOT" : str( settings.URL_ROOT) @@ -88,7 +88,7 @@ def pathsreport(request): "SURVEX_DATA" : type(settings.SURVEX_DATA), "SCANS_ROOT" : type(settings.SCANS_ROOT), # "SURVEYS" : type(settings.SURVEYS), - "SCANS_URL" : type(settings.SCANS_URL), +# "SCANS_URL" : type(settings.SCANS_URL), "SURVEXPORT" : type(settings.SURVEXPORT), "DRAWINGS_DATA" : type(settings.DRAWINGS_DATA), "URL_ROOT" : type(settings.URL_ROOT)