mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 04:27:45 +00:00
attempt new year signup
This commit is contained in:
@@ -12,6 +12,7 @@ from unidecode import unidecode
|
|||||||
|
|
||||||
from troggle.core.models.troggle import DataIssue, Expedition, Person, PersonExpedition
|
from troggle.core.models.troggle import DataIssue, Expedition, Person, PersonExpedition
|
||||||
from troggle.core.views.signup import read_signups
|
from troggle.core.views.signup import read_signups
|
||||||
|
from troggle.core.utils import current_expo
|
||||||
|
|
||||||
"""These functions do not match how the stand-alone folk script works. So the script produces an HTML file which has
|
"""These functions do not match how the stand-alone folk script works. So the script produces an HTML file which has
|
||||||
href links to pages in troggle which troggle does not think are right.
|
href links to pages in troggle which troggle does not think are right.
|
||||||
@@ -236,7 +237,7 @@ def load_people_expos():
|
|||||||
if most_recent != current_expo():
|
if most_recent != current_expo():
|
||||||
print(f"{most_recent} != {current_expo()} so we need to create this year's expo")
|
print(f"{most_recent} != {current_expo()} so we need to create this year's expo")
|
||||||
expo_now = Expedition(year=current_expo())
|
expo_now = Expedition(year=current_expo())
|
||||||
expo_now.save()
|
# expo_now.save()
|
||||||
expedition = expo_now
|
expedition = expo_now
|
||||||
check_new_signups(expedition)
|
check_new_signups(expedition)
|
||||||
# pr.disable()
|
# pr.disable()
|
||||||
|
|||||||
Reference in New Issue
Block a user