擅长:python、mysql、java
<p>使用<a href="http://wtforms.simplecodes.com/docs/0.6.2/forms.html#wtforms.form.Form.errors" rel="nofollow">^{<cd1>}</a>:</p>
<blockquote>
<p><code>errors</code></p>
<p>A dict containing a list of errors for each field. Empty if the form
hasn’t been validated, or there were no errors.</p>
</blockquote>