2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 01:01:53 +00:00

fix makes prospecting_guide work

This commit is contained in:
Philip Sargent 2020-07-20 23:47:52 +01:00
parent f7db908cb2
commit 5bc2c132fa

View File

@ -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})