diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-07-13 14:49:55 +0200 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-07-13 14:49:55 +0200 |
commit | cef872d038ee627500f089561345927c241e89f0 (patch) | |
tree | 6e63751ff53061f7bd9cd5d9c259f19158e43a0a /urls.py | |
parent | fca95ce5399c03e2cb25d3832650c456863ebb59 (diff) | |
download | troggle-cef872d038ee627500f089561345927c241e89f0.tar.gz troggle-cef872d038ee627500f089561345927c241e89f0.tar.bz2 troggle-cef872d038ee627500f089561345927c241e89f0.zip |
GPX upload
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, logbookedit +from troggle.core.views.uploads import dwgupload, photoupload, gpxupload, 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. @@ -115,6 +115,8 @@ trogglepatterns = [ path('walletedit/<path:path>', walletedit, name='walletedit'), # path=2020#01 path('photoupload/', photoupload, name='photoupload'), # restricted to current year path('photoupload/<path:folder>', photoupload, name='photoupload'), # restricted to current year + path('gpxupload/', gpxupload, name='gpxupload'), # restricted to current year + path('gpxupload/<path:folder>', gpxupload, name='gpxupload'), # restricted to current year path('dwgupload/<path:folder>', dwgupload, name='dwgupload'), path('dwgupload/', dwgupload, name='dwgupload'), path('dwguploadnogit/', dwgupload, {'gitdisable': 'yes'}, name='dwguploadnogit'), # used in testing |