Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#15492 closed (fixed)

Explain all error message keys for the SplitDateTimeField

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

Description

According to http://docs.djangoproject.com/en/dev/ref/forms/fields/#splitdatetimefield the SplitDateTimeField has the error message keys 'required' and 'invalid'.

Wanting to change the error message for an invalid time failed until I discovered (via this fix http://www.mail-archive.com/django-updates@googlegroups.com/msg35926.html) that there are also error message keys 'invalid_time' and 'invalid_date'.

It would be nice if these were added to the documentation.

Change History (3)

comment:1 by Russell Keith-Magee, 14 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Gabriel Hurley, 14 years ago

Resolution: fixed
Status: newclosed

In [15663]:

Fixed #15492 -- Documented the invalid_date and invalid_time error keys for SplitDateTimeField. Thanks to lode for the report.

comment:3 by Gabriel Hurley, 14 years ago

In [15664]:

[1.2.X] Fixed #15492 -- Documented the invalid_date and invalid_time error keys for SplitDateTimeField. Thanks to lode for the report.

Backport of [15663] from trunk.

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