views: remove endDate option from birthdate field
It's now defined by the default birthdate kind in authentic.
This commit is contained in:
parent
3488086435
commit
496b24ae6c
|
@ -95,8 +95,6 @@ class UserEditCoreView(UserEditView):
|
|||
form = super(UserEditCoreView, self).get_form(*args, **kwargs)
|
||||
for field in form.fields.values():
|
||||
field.required = True
|
||||
if 'birthdate' in form.fields:
|
||||
form.fields['birthdate'].widget.options['endDate'] = '+0d'
|
||||
return form
|
||||
|
||||
def form_valid(self, form):
|
||||
|
|
Loading…
Reference in New Issue