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

Orange ▲ for caves with no Entranes

This commit is contained in:
2023-10-06 14:57:41 +03:00
parent 0a72e50c90
commit dfdbba6550
2 changed files with 22 additions and 6 deletions

View File

@@ -125,7 +125,12 @@ def getnotablecaves():
def caveindex(request):
#allcaves = Cave.objects.all()
allcaves = Cave.objects.filter(areacode="1626") # testing with subset
for c in allcaves:
if c.entrances:
pass
caves1623 = list(Cave.objects.filter(areacode="1623"))
caves1626 = list(Cave.objects.filter(areacode="1626"))
caves1627 = list(Cave.objects.filter(areacode="1627"))