2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 09:17:10 +00:00

links to other years wallets

This commit is contained in:
Philip Sargent
2022-10-18 23:28:38 +03:00
parent 830150ade6
commit 2cafa32c7e
2 changed files with 10 additions and 3 deletions

View File

@@ -269,5 +269,6 @@ def allscans(request):
'''
manywallets = Wallet.objects.all() # NB all of them
# manywallets = Wallet.objects.all().prefetch_related('singlescan') fails as the link is defined on 'singlescan' not on 'wallet'
return render(request, 'manywallets.html', { 'manywallets':manywallets, 'settings': settings })
expeditions = Expedition.objects.all()
return render(request, 'manywallets.html', { 'manywallets':manywallets, 'settings': settings, 'expeditions': expeditions })