forked from DGNum/gestioCOF
Update kfet/forms.py
Correction de l'assignation des promos
This commit is contained in:
parent
2126224e15
commit
183f655828
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class DemandeSoireeForm(forms.Form):
|
||||||
|
|
||||||
def default_promo():
|
def default_promo():
|
||||||
now = date.today()
|
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():
|
def get_promo_choices():
|
||||||
|
|
Loading…
Reference in a new issue