Code

Opened 3 years ago

Closed 3 years ago

#16846 closed Bug (invalid)

No form method "non_form_errors()"

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

In the formset docs https://docs.djangoproject.com/en/dev/topics/forms/formsets/#custom-formset-validation the non_form_errors() method should be "non_field_errors()"

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by julien

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Thank you for the report but the documentation is actually correct. See: source:django/trunk/django/forms/formsets.py?rev=16773#L229

You're probably mistaking it with: source:django/trunk/django/forms/forms.py?rev=16773#L237

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.