remove duplicate lines, add heading link

This commit is contained in:
Philip Sargent
2022-07-21 10:50:15 +03:00
parent 8245ee103e
commit 5161fce32e
2 changed files with 4 additions and 5 deletions

View File

@@ -80,5 +80,5 @@ def cavewallets(request, cave_id):
print(f'cavewallets {cave_id=} {cave=}')
manywallets = Wallet.objects.filter(survexblock__survexfile__cave=cave)
return render(request, 'cavewallets.html', { 'manywallets':manywallets, 'settings': settings })
manywallets = set(Wallet.objects.filter(survexblock__survexfile__cave=cave))
return render(request, 'cavewallets.html', { 'manywallets':manywallets, 'settings': settings, 'cave': cave})