Commit 760ee122 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/registration-year' into 'master'

Fix max registration year

See merge request !906

(cherry picked from commit 30b26f7f)

41048441 Fix max registration year
parent e8ec6a3c
......@@ -24,7 +24,7 @@ class MemberRegistrationForm(forms.ModelForm):
this_year = datetime_to_lectureyear(timezone.now())
years = reversed([(x, "{} - {}".format(x, x + 1)) for x in
range(this_year - 20, this_year + 1)])
range(this_year - 20, this_year + 2)])
starting_year = TypedChoiceField(
choices=years,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment