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
commit087a02838877b34cc9deb368412567b92bd742b8 (patch)
tree4428a1b56fd93e54c23d40d20113861944a7fd08 /core/views_caves.py
parent9fd6163704d5b4919a2b3f851d157f684b27f842 (diff)
downloadtroggle-087a02838877b34cc9deb368412567b92bd742b8.tar.gz
troggle-087a02838877b34cc9deb368412567b92bd742b8.tar.bz2
troggle-087a02838877b34cc9deb368412567b92bd742b8.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"))