mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 07:11:52 +00:00
fix makes prospecting_guide work
This commit is contained in:
parent
f7db908cb2
commit
5bc2c132fa
@ -337,7 +337,7 @@ def prospecting(request):
|
|||||||
for key, name in areanames:
|
for key, name in areanames:
|
||||||
a = Area.objects.get(short_name = key)
|
a = Area.objects.get(short_name = key)
|
||||||
caves = list(a.cave_set.all())
|
caves = list(a.cave_set.all())
|
||||||
caves.sort(caveCmp)
|
caves.sort(key=caveKey)
|
||||||
areas.append((name, a, caves))
|
areas.append((name, a, caves))
|
||||||
return render(request, 'prospecting.html', {"areas": areas})
|
return render(request, 'prospecting.html', {"areas": areas})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user