Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#14708 closed (fixed)

Document available mapping keys for form field error messages.

Reported by: Adam Vandenberg Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The error messages for some form fields have mapping keys that will be replaced into the provided error strings. The attached patch documents these keys.

Attachments (2)

form-field-errors.diff (2.6 KB ) - added by Adam Vandenberg 13 years ago.
document-mapping-keys.diff (3.0 KB ) - added by Adam Vandenberg 13 years ago.
Rebased against trunk.

Download all attachments as: .zip

Change History (8)

by Adam Vandenberg, 13 years ago

Attachment: form-field-errors.diff added

comment:1 by Adam Vandenberg, 13 years ago

Also: Recommend resolving #8104 as a duplicate of this issue.

comment:2 by Gabriel Hurley, 13 years ago

milestone: 1.3
Triage Stage: UnreviewedAccepted

Agreed with your recommendation, adam. I'll give the patch further review later on before I commit it, but so far it looks good.

comment:3 by anonymous, 13 years ago

gabriel, not related per se, but another documentation addition in the same file: http://code.djangoproject.com/ticket/11496
Potentially that patch could also be pulled in regardless of whether or not it satisfies bug 11496.

by Adam Vandenberg, 13 years ago

Attachment: document-mapping-keys.diff added

Rebased against trunk.

comment:4 by Tim Graham, 13 years ago

Resolution: fixed
Status: newclosed

(In [15080]) Fixed #14708 - Document available keys for form field error messages; thanks adamv.

comment:5 by Tim Graham, 13 years ago

(In [15081]) [1.2.X] Fixed #14708 - Document available keys for form field error messages; thanks adamv.

Backport of r15080 from trunk.

comment:6 by Jacob, 12 years ago

milestone: 1.3

Milestone 1.3 deleted

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