From 1b4674acde16ed054bb3562d176ab047247078df Mon Sep 17 00:00:00 2001 From: Rad Date: Tue, 26 Feb 2019 00:33:37 +0000 Subject: [PATCH] Messing with millenialcaves.html or similar --- core/views_caves.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/views_caves.py b/core/views_caves.py index a988604..700779d 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -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=''):