summaryrefslogtreecommitdiffstats
path: root/core/views_caves.py
diff options
context:
space:
mode:
authorexpo <expo@expobox.potato.hut>2015-06-21 15:08:09 +0100
committerexpo <expo@expobox.potato.hut>2015-06-21 15:08:09 +0100
commit7aed3d3b3060f65edc436dfc5592aa3625fb746d (patch)
tree4428a1b56fd93e54c23d40d20113861944a7fd08 /core/views_caves.py
parent4771f52b20785a9ea7ce7598922e5fb9265921a7 (diff)
downloadtroggle-7aed3d3b3060f65edc436dfc5592aa3625fb746d.tar.gz
troggle-7aed3d3b3060f65edc436dfc5592aa3625fb746d.tar.bz2
troggle-7aed3d3b3060f65edc436dfc5592aa3625fb746d.zip
Moved notable caves to settings.py, link to a script to fix permissions
Diffstat (limited to 'core/views_caves.py')
-rw-r--r--core/views_caves.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views_caves.py b/core/views_caves.py
index 8fd03b2..0fb509e 100644
--- a/core/views_caves.py
+++ b/core/views_caves.py
@@ -50,7 +50,7 @@ def caveCmp(x, y):
def caveindex(request):
caves = Cave.objects.all()
- notablecavehrefs = [ "161", "204", "258", "76", "107" ] # could detect notability by trips and notability of people who have been down them
+ 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"))