debianmemberportfolio/ddportfolioservice/model/form.py

9 lines
295 B
Python
Raw Normal View History

import formencode
class DeveloperData(formencode.Schema):
allow_extra_fields = True
filter_extra_fields = True
name = formencode.validators.String(not_empty=True)
email = formencode.validators.Email(not_empty=True)
username = formencode.validators.PlainText(not_empty=True)