#22216 closed Cleanup/optimization (fixed)
There is no mention of non_field_errors on the forms api page
Reported by: | anonymous | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
There is no mention of non_field_errors on the forms api page.
This is in django 1.6, 1.5, 1.4, 1.3, 1.2 docs. Visit to https://docs.djangoproject.com/en/1.6/ref/forms/api/, and search for non_field_errors - there is no mention of that api entry point. It would be nice if there was.
This is related to the following tickets:
https://code.djangoproject.com/ticket/14023
https://code.djangoproject.com/ticket/13465
I see non_field errors is on the dev version of the docs. Good stuff. Do you update the older docs for requests like this?
Attachments (1)
Change History (5)
comment:1 by , 11 years ago
Component: | Uncategorized → Documentation |
---|---|
Easy pickings: | set |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
Version: | 1.6 → master |
by , 11 years ago
Attachment: | 22216.diff added |
---|
comment:2 by , 11 years ago
Has patch: | set |
---|
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi,
The mention of
non_field_errors
was made as part of commit f563c339ca2eed81706ab17726c79a6f00d7c553 which only applies to the dev version.We usually backport documentation fixes to older versions of the doc (provided it's relevant and not too much hassle) but in this case, we can't really do that.
However, eventhough
non_field_errors
is now mentionned, I agree that it's lacking a proper reference likeForm.errors
has for example, so I'll accept this ticket.If you provide a patch, I don't see any reason why it couldn't be applied to older versions of the doc as well.
Thanks.