From 183f6558283949e73b2b0f9346b4a59b05e527e4 Mon Sep 17 00:00:00 2001 From: Morpheus Date: Sun, 10 Nov 2024 11:48:43 +0100 Subject: [PATCH] Update kfet/forms.py Correction de l'assignation des promos --- kfet/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfet/forms.py b/kfet/forms.py index c6b2f857..d1966326 100644 --- a/kfet/forms.py +++ b/kfet/forms.py @@ -93,7 +93,7 @@ class DemandeSoireeForm(forms.Form): def default_promo(): now = date.today() - return now.month <= 8 and now.year - 1 or now.year + return now.month <= 7 and now.year - 1 or now.year def get_promo_choices(): -- 2.47.0