+5 let limit maturity

This commit is contained in:
Ondra Hrabě 2024-11-05 19:25:36 +01:00
parent 7b3708d7ab
commit 8156f7828e

View file

@ -62,7 +62,7 @@ class UdajeForm(forms.Form):
rok_maturity = forms.IntegerField(
label='Rok maturity',
min_value=date.today().year,
max_value=date.today().year+8,
max_value=date.today().year+13,
required=True,
)