2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 08:47:28 +00:00

Removed class Area, use Cave.areacode Cave.subarea

This commit is contained in:
2023-09-10 15:42:36 +03:00
parent ad272fab3b
commit ab79a43afa
10 changed files with 75 additions and 159 deletions

View File

@@ -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)