Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Mark parameter 'manual' in UserAddExtraFields as required
Browse files Browse the repository at this point in the history
  • Loading branch information
VicentGJ committed Jan 6, 2021
1 parent 426606c commit bbe33ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class UserAdd(UserProfileEdit):


class UserAddExtraFields(UserAdd):
manual = BooleanField(label="Usuario Manual", default="checked")
manual = BooleanField(label="Usuario Manual", validators=[DataRequired()])
person_type = SelectField(label="Tipo de Persona", choices=[('Worker', "Trabajador"), ('Student', "Estudiante")])
dni = StringField(label='Carné Identidad', validators=[DataRequired()])

Expand Down

0 comments on commit bbe33ee

Please sign in to comment.