From 49b9225b6e833b4c08382fc86f9556ff4d0e7fbc Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Mon, 26 Apr 2021 19:50:03 +0100 Subject: rename scansfolder to wallet --- urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 33146cc..227f66d 100644 --- a/urls.py +++ b/urls.py @@ -9,7 +9,7 @@ from django.contrib import auth from django.urls import reverse, resolve from troggle.core.views import caves, statistics, survex -from troggle.core.views.surveys import scansingle, scanswallet, scanswallets, dwgdata, dwgfilesingle, dwgfileupload +from troggle.core.views.surveys import scansingle, singlewallet, allwallets, dwgdata, dwgfilesingle, dwgfileupload from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage, scanupload from troggle.core.views.other import downloadlogbook, ajax_QM_number, downloadQMs from troggle.core.views.caves import ent, cavepage @@ -141,8 +141,8 @@ trogglepatterns = [ re_path(r'^survexfile/caves$', survex.survexcaveslist, name="survexcaveslist"), # auto slash not working re_path(r'^survexfile/(?P.*)$', survex.survexcavesingle, name="survexcavessingle"), - re_path(r'^survey_scans/$', scanswallets, name="scanswallets"), - re_path(r'^survey_scans/(?P[^/]+)/$', scanswallet, name="scanswallet"), + re_path(r'^survey_scans/$', allwallets, name="allwallets"), + re_path(r'^survey_scans/(?P[^/]+)/$', singlewallet, name="singlewallet"), re_path(r'^survey_scans/(?P[^/]+)/(?P[^/]+)$', scansingle, name="scansingle"), -- cgit v1.2.3