mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 10:37:07 +00:00
wallets per person - slow implementation
This commit is contained in:
3
urls.py
3
urls.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user