summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRad <radost.waszkiewicz@gmail.com>2019-02-26 09:41:02 +0000
committerRad <radost.waszkiewicz@gmail.com>2019-02-26 09:41:02 +0000
commitb6b7d2aa12ca7c51601edfefa43dfdc4a8737b17 (patch)
treea90d188465bc7c4d6db2c29dd660cd07b0679918 /core
parentc733b0f2eb343279a7e2beda869c56ad1c48f7ae (diff)
downloadtroggle-b6b7d2aa12ca7c51601edfefa43dfdc4a8737b17.tar.gz
troggle-b6b7d2aa12ca7c51601edfefa43dfdc4a8737b17.tar.bz2
troggle-b6b7d2aa12ca7c51601edfefa43dfdc4a8737b17.zip
Messing with millenialcaves.html or similar
Diffstat (limited to 'core')
-rw-r--r--core/views_caves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views_caves.py b/core/views_caves.py
index 2684651..4751f4f 100644
--- a/core/views_caves.py
+++ b/core/views_caves.py
@@ -64,12 +64,12 @@ 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 ]
+ notablecaves = []
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})
+ return render_with_context(request,'caveindex.html', {'caves1623': caves1626, 'caves1626': caves1626, 'notablecaves':notablecaves, 'cavepage': True})