2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-29 05:11:52 +00:00

Messing with millenialcaves.html or similar

This commit is contained in:
Rad 2019-02-26 00:33:37 +00:00
parent 4fac4317a3
commit 1b4674acde

View File

@ -63,13 +63,7 @@ def millenialcaves(request):
#RW messing around area
caves = Cave.objects.all()
return HttpResponse("It's Rad breaking things")
notablecavehrefs = settings.NOTABLECAVESHREFS
notablecaves = [Cave.objects.get(kataster_number=kataster_number) for kataster_number in notablecavehrefs ]
caves1623 = list(Cave.objects.filter(area__short_name = "1623"))
caves1626 = list(Cave.objects.filter(area__short_name = "1623"))
caves1623.sort(caveCmp)
caves1626.sort(caveCmp)
return render_with_context(request,'millenialcaves.html', {'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})
def cave3d(request, cave_id=''):