Use the right error message

parent 81a621cc
......@@ -271,7 +271,7 @@ class Registration(Entry):
if (self.starting_year is None and
self.membership_type is not Membership.SUPPORTER):
errors.update({
'username': _('This field is required.')})
'starting_year': _('This field is required.')})
if (self.programme is None and
self.membership_type is not Membership.SUPPORTER):
......
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