python - Tornado and WTForms -
i using wtforms first time. using wtforms validate post requests in tornado below forms forms.py
class userform(form): user = textfield('user', [validators.length(min=23, max=23)])
in tonado handler have
def post(self): form = userform(self.request.body)
the error message is: formdata should multidict-type wrapper supports 'getlist' method"
how make work?
Comments
Post a Comment