summaryrefslogtreecommitdiffstats
path: root/core/views_caves.py
diff options
context:
space:
mode:
authorRad <radost.waszkiewicz@gmail.com>2019-02-26 00:04:27 +0000
committerRad <radost.waszkiewicz@gmail.com>2019-02-26 00:04:27 +0000
commita4a92483bd69a5498d81b3251d32c74bce9a6bc4 (patch)
treeec3e999f95006ff8360e04612522dbace32df92e /core/views_caves.py
parent3254ba14436059be230ba51745708db22f640415 (diff)
downloadtroggle-a4a92483bd69a5498d81b3251d32c74bce9a6bc4.tar.gz
troggle-a4a92483bd69a5498d81b3251d32c74bce9a6bc4.tar.bz2
troggle-a4a92483bd69a5498d81b3251d32c74bce9a6bc4.zip
Messing with millenialcaves.html or similar
Diffstat (limited to 'core/views_caves.py')
-rw-r--r--core/views_caves.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views_caves.py b/core/views_caves.py
index f8420d7..f3073a9 100644
--- a/core/views_caves.py
+++ b/core/views_caves.py
@@ -60,11 +60,12 @@ def caveindex(request):
return render_with_context(request,'caveindex.html', {'caves1623': caves1623, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})
def millenialcaves(request):
+ #RW messing around area
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"))
+ 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})