Messing with millenialcaves.html or similar

This commit is contained in:
Rad 2019-02-26 12:23:12 +00:00
parent 4148ece133
commit 6392c1f238

View File

@ -69,6 +69,7 @@ def millenialcaves(request):
caves1626 = list(Cave.objects.filter(area__short_name = "1626")) caves1626 = list(Cave.objects.filter(area__short_name = "1626"))
caves1623.sort(caveCmp) caves1623.sort(caveCmp)
caves1626.sort(caveCmp) caves1626.sort(caveCmp)
return render(HttpResponse(content="Some text"))
return render_with_context(request,'caveindex.html', {'caves1623': caves1626, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True}) return render_with_context(request,'caveindex.html', {'caves1623': caves1626, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})