mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 13:55:24 +00:00
New year for signups - partial
This commit is contained in:
@@ -231,7 +231,14 @@ def load_people_expos():
|
||||
ensure_users_are_persons()
|
||||
most_recent = Expedition.objects.all().first()
|
||||
print(most_recent)
|
||||
check_new_signups(most_recent)
|
||||
expedition = most_recent
|
||||
# STOP THIS, read how it works first before re-writing it !
|
||||
if most_recent != current_expo():
|
||||
print(f"{most_recent} != {current_expo()} so we need to create this year's expo")
|
||||
expo_now = Expedition(year=current_expo())
|
||||
expo_now.save()
|
||||
expedition = expo_now
|
||||
check_new_signups(expedition)
|
||||
# pr.disable()
|
||||
# with open("folk_reader.prof", "w") as f:
|
||||
# ps = pstats.Stats(pr, stream=f)
|
||||
|
||||
Reference in New Issue
Block a user