2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-19 09:22:32 +00:00

Messing with millenialcaves.html or similar

This commit is contained in:
Rad 2019-02-26 02:01:09 +00:00
parent 5e4c1493a1
commit 9712bf6dfd

View File

@ -62,8 +62,14 @@ def caveindex(request):
def millenialcaves(request):
#RW messing around area
return None
return HttpResponse("blurrnsngsl.", content_type="text/plain")
caves = Cave.objects.all()
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 = "1626"))
caves1623.sort(caveCmp)
caves1626.sort(caveCmp)
return render_with_context(request,'caveindex.html', {'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})