mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 21:27:13 +00:00
undropped caves page
This commit is contained in:
@@ -205,6 +205,24 @@ def getnotablecaves():
|
||||
print(notablecaves)
|
||||
return notablecaves
|
||||
|
||||
def caves_undropped(request):
|
||||
caves1623 = list(Cave.objects.filter(areacode="1623",unexplored="True"))
|
||||
caves1626 = list(Cave.objects.filter(areacode="1626",unexplored="True"))
|
||||
|
||||
caves1623.sort(key=caveKey)
|
||||
caves1626.sort(key=caveKey)
|
||||
|
||||
|
||||
allcaves = caves1623 + caves1626
|
||||
|
||||
return render(
|
||||
request,
|
||||
"cavesundropped.html",
|
||||
{"caves1623": caves1623,
|
||||
"caves1626": caves1626,
|
||||
"cavepage": True, "year": current_expo()},
|
||||
)
|
||||
|
||||
def caves_recent(request):
|
||||
caves1623 = list(Cave.objects.filter(areacode="1623"))
|
||||
caves1626 = list(Cave.objects.filter(areacode="1626"))
|
||||
|
||||
Reference in New Issue
Block a user