summaryrefslogtreecommitdiffstats
path: root/core/views/scans.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-10-18 23:28:38 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-10-18 23:28:38 +0300
commit2cafa32c7ec2c15379c3bab4071e7f235d461f32 (patch)
tree8caa6954d544b3a839e2a8a11840fa8c07e82db9 /core/views/scans.py
parent830150ade6be82091d0fcfca9a91c7cb363a6fdc (diff)
downloadtroggle-2cafa32c7ec2c15379c3bab4071e7f235d461f32.tar.gz
troggle-2cafa32c7ec2c15379c3bab4071e7f235d461f32.tar.bz2
troggle-2cafa32c7ec2c15379c3bab4071e7f235d461f32.zip
links to other years wallets
Diffstat (limited to 'core/views/scans.py')
-rw-r--r--core/views/scans.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/scans.py b/core/views/scans.py
index af26c47..9fd58d6 100644
--- a/core/views/scans.py
+++ b/core/views/scans.py
@@ -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 })