summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index f415e6d..b398690 100644
--- a/urls.py
+++ b/urls.py
@@ -24,7 +24,7 @@ from troggle.core.views.other import (controlpanel, exportlogbook, frontpage,
from troggle.core.views.prospect import prospecting
from troggle.core.views.scans import (allscans, cavewallets, scansingle,
walletslistperson, walletslistyear)
-from troggle.core.views.uploads import dwgupload, photoupload, expofilerename
+from troggle.core.views.uploads import dwgupload, photoupload, expofilerename, logbookedit
from troggle.core.views.wallets_edit import walletedit
"""This sets the actualurlpatterns[] and urlpatterns[] lists which django uses
to resolve urls - in both directions as these are declarative.
@@ -109,6 +109,8 @@ trogglepatterns = [
path('dwgupload/', dwgupload, name='dwgupload'),
path('dwguploadnogit/', dwgupload, {'gitdisable': 'yes'}, name='dwguploadnogit'), # used in testing
path('dwguploadnogit/<path:folder>', dwgupload, {'gitdisable': 'yes'}, name='dwguploadnogit'), # used in testing
+ path('logbookedit/', logbookedit, name='logbookedit'),
+ path('logbookedit/<int:year>', logbookedit, name='logbookedit'), # year=2023
# Renaming an uploaded file
path('expofilerename/<path:filepath>', expofilerename, name='expofilerename'),