- tags = wtforms.TextField(_('Tags'), [tag_length_validator],
- description="Seperate tags by commas.")
- license = wtforms.SelectField(_('License'),
- [wtforms.validators.Optional(),], choices=licenses_as_choices())
+ tags = wtforms.StringField(
+ _('Tags'), [tag_length_validator],
+ description="Seperate tags by commas."
+ )
+ license = wtforms.SelectField(
+ _('License'),
+ [wtforms.validators.Optional()],
+ choices=licenses_as_choices()
+ )