#23258 closed Bug (worksforme)
Add note that Form.add_error is new in 1.7 in 'Form and field validation'
Reported by: | Morten Barklund | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.7-rc-2 |
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: | yes |
Description
It's a tiny documentation thing, but the 'Form and field validation' docs for Django 1.7 does not mention that Form.add_error
is a new method in Django 1.7.
Change History (2)
comment:1 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 10 years ago
add_error has been added from this PR: https://github.com/django/django/pull/1443
On the release notes there is a clear mention that add_error is added in 1.7: https://docs.djangoproject.com/en/dev/releases/1.7/#form-add-error
Here a PR in case we really want this, here a PR https://github.com/django/django/pull/3036
Note:
See TracTickets
for help on using tickets.
If you click through to the Form.add_error() reference, you'll see the note there. I don't think we should add a note everywhere that the method appears.