2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 09:17:10 +00:00

current year auto

This commit is contained in:
2024-03-14 19:53:01 +00:00
parent 7325d934f9
commit b3490aa52d
5 changed files with 27 additions and 7 deletions

View File

@@ -89,6 +89,13 @@ def load_people_expos():
"""This is where the folk.csv file is parsed to read people's names.
Which it gets wrong for people like Lydia-Clare Leather and various 'von' and 'de' middle 'names'
and McLean and Mclean and McAdam - interaction with the url parser in urls.py too
This is ALSO where all the Expedition objects get created. So this is the point at which troggle
gets told what expeditions exist.
Given that we need to do stuff for the coming expo, well before we update the folk list,
the Expedition object for the coming expo is created elsewhere - in addition to
those created here, if it does not exist.
"""
DataIssue.objects.filter(parser="people").delete()