diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2024-03-15 12:49:01 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2024-03-15 12:49:01 +0000 |
commit | e2d7ab441693ee77a35d2df9f8b85d004c669a6b (patch) | |
tree | b0dcad421bd126ff3a7cbbddd87b3d9521dffe58 /core/utils.py | |
parent | dbfe72071e3699cf3f210ecb34ec7933eb123857 (diff) | |
download | troggle-e2d7ab441693ee77a35d2df9f8b85d004c669a6b.tar.gz troggle-e2d7ab441693ee77a35d2df9f8b85d004c669a6b.tar.bz2 troggle-e2d7ab441693ee77a35d2df9f8b85d004c669a6b.zip |
detect missing current expo on expo page
Diffstat (limited to 'core/utils.py')
-rw-r--r-- | core/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/utils.py b/core/utils.py index e5d2726..e4fda48 100644 --- a/core/utils.py +++ b/core/utils.py @@ -91,7 +91,7 @@ def alphabet_suffix(n): def make_new_expo(year): coUniqueAttribs = {"year": year} - otherAttribs = {"name": f"CUCC expo {year}"} + otherAttribs = {"name": f"CUCC expo {year}", "logbookfile": "logbook.html"} e = Expedition.objects.create(**otherAttribs, **coUniqueAttribs) u = User.objects.get(username='expo') u.current_year = year |