#31100: Why baseformset method "non_form_errors" is not property
-----------------------------------------+-------------------------
Reporter: Vinay Kumar | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Keywords: formset
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-------------------------
Why baseformset method "non_form_errors" is not property
on Shell its working fine
{{{
>> formset.non_field_errors()
['Some error.']
}}}
but in below case its not working.
{{{
{% if formset.non_field_errors %}
<div class="alert alert-danger" role="alert">
{% for error in formset.non_field_errors %}
{{ error }}
{% endfor %}
</div>
{% endif %}
}}}
this below code is also not displaying any error.
{{{
{{formset.non_field_errors}}
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31100>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.7501381c898d43a155646dd08eff6ea0%40djangoproject.com.