mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 09:27:16 +00:00
detect missing current expo on expo page
This commit is contained in:
@@ -66,6 +66,7 @@ def expedition(request, expeditionname):
|
||||
does lazy evaluation.
|
||||
|
||||
"""
|
||||
current = current_expo() # creates new expo after 31st Dec.
|
||||
try:
|
||||
expo = Expedition.objects.get(year=int(expeditionname))
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user