Support for reduced registration fee

This commit is contained in:
2020-12-09 17:45:15 +01:00
parent 3f3bb2512b
commit baabbba7fb
14 changed files with 171 additions and 58 deletions

View File

@@ -25,6 +25,9 @@ class RegistrationForm(forms.ModelForm):
'experience': forms.Textarea(attrs={'rows': 5}),
'note': forms.Textarea(attrs={'rows': 5}),
}
labels = {
'apply_reduced_fee': _('Ich bin noch keine 25 Jahre alt oder besitze einen "Karlsruher Pass".'),
}
def clean_year_of_birth(self):
now = datetime.datetime.now()