阅读背景:

用标签而不是字段名呈现表单错误

来源:互联网 

I would like to list all form errors together using {{ form.errors }} in the template. This produces a list of form fields and nested lists of the errors for each field. However, the literal name of the field is used. The generated html with an error in a particular field might look like this.I would like to list all form errors together u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: