diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2022-07-31 18:58:46 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2022-07-31 18:58:46 +0300 |
commit | a2a5e9200ec5a588729a19684bba9c045dad8ef6 (patch) | |
tree | 8775903f730ca74795b447d16d79bc3ff8460065 /urls.py | |
parent | c1ba6a39a5f556d832da22e1f8e8ab33494f755b (diff) | |
download | troggle-a2a5e9200ec5a588729a19684bba9c045dad8ef6.tar.gz troggle-a2a5e9200ec5a588729a19684bba9c045dad8ef6.tar.bz2 troggle-a2a5e9200ec5a588729a19684bba9c045dad8ef6.zip |
wallets per person - slow implementation
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ from django.contrib import auth from django.urls import path, reverse, resolve from troggle.core.views import statistics, survex -from troggle.core.views.scans import scansingle, allscans, cavewallets, walletslistyear +from troggle.core.views.scans import scansingle, allscans, cavewallets, walletslistyear, walletslistperson from troggle.core.views.drawings import dwgallfiles, dwgfilesingle from troggle.core.views.uploads import dwgupload, scanupload, photoupload from troggle.core.views.other import troggle404, frontpage, todos, controlpanel, frontpage @@ -172,6 +172,7 @@ trogglepatterns = [ # The data about the wallets themselves, not the scans inside tehm path('wallets/year/<int:year>', walletslistyear, name="walletslistyear"), # wallets that are for a specific year, as an integer '1985' + re_path('wallets/person/(?P<first_name>[A-Z]*[a-z\-\'&;]*)[^a-zA-Z]*(?P<last_name>[a-z\-\']*[^a-zA-Z]*[\-]*[A-Z]*[a-zA-Z\-&;]*)/?', walletslistperson, name="walletslistperson"), # The tunnel and therion drawings files pageswalletslistcave |