Update kfet/forms.py

Correction de l'assignation des promos
This commit is contained in:
Morpheus 2024-11-10 11:48:43 +01:00
parent 2126224e15
commit 183f655828

View file

@ -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():