Opened 5 years ago

Closed 5 years ago

#31100 closed Uncategorized (invalid)

Why baseformset method "non_form_errors" is not property

Reported by: Vinay Kumar Owned by: nobody
Component: Uncategorized Version: 2.2
Severity: Normal Keywords: formset
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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}}

Change History (1)

comment:1 by Carlton Gibson, 5 years ago

Resolution: invalid
Status: newclosed

Hi. There's any number of things that could be going wrong in your code. Alas, the issue tracker is not an appropriate support channel — you'll need to ask somewhere else.

Please see TicketClosingReasons/UseSupportChannels.

Note: See TracTickets for help on using tickets.
Back to Top