diff options
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 |