How to avoid displaying form errors twice when using messages?

前端 未结 0 397
挽巷
挽巷 2020-11-29 16:39

When showing a form in a template, I have a block that displays form errors:

{% if field.errors %}
    {% for error in field.errors %}
        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题