#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 , 14 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [15663]: