summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index a002a0e..250ae0e 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -124,10 +124,10 @@ def getnotablecaves():
def caveindex(request):
- #Cave.objects.all()
- caves1623 = list(Cave.objects.filter(area__short_name="1623"))
- caves1626 = list(Cave.objects.filter(area__short_name="1626"))
- caves1627 = list(Cave.objects.filter(area__short_name="1627"))
+
+ caves1623 = list(Cave.objects.filter(areacode="1623"))
+ caves1626 = list(Cave.objects.filter(areacode="1626"))
+ caves1627 = list(Cave.objects.filter(areacode="1627"))
caves1623.sort(key=caveKey)
caves1626.sort(key=caveKey)
caves1627.sort(key=caveKey)