def no_root_allowed(form, field):
    if field.data == 'root':
        raise ValidationError('"root" is not allowed')
form_args = dict(username=dict(validators=[no_root_allowed]))
Flask-Admin ModelView custom validation?