Explain all error message keys for the SplitDateTimeField
|Reported by:||lode||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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://firstname.lastname@example.org/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 Changed 6 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:2 Changed 6 years ago by gabrielhurley
- Resolution set to fixed
- Status changed from new to closed