How to make django form.errors display only error and not input field affected
Question:
Answers:
Errors are also listed by field in the form, so you can loop through with this to avoid mentioning the fieldname:
{% for field in form %}
{% for error in field.errors %}
{{ error }}<br>
{% endfor %}
{% endfor %}
Errors are also listed by field in the form, so you can loop through with this to avoid mentioning the fieldname:
{% for field in form %}
{% for error in field.errors %}
{{ error }}<br>
{% endfor %}
{% endfor %}