From 2cafa32c7ec2c15379c3bab4071e7f235d461f32 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Tue, 18 Oct 2022 23:28:38 +0300 Subject: links to other years wallets --- core/views/scans.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/views/scans.py') 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 }) -- cgit v1.2.3