diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2011-02-27 21:18:16 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2011-02-27 21:18:16 +0000 |
| commit | a90e297f58c29aa243c3f83bd045cb663667857d (patch) | |
| tree | 6fb0ef171cb942e6a20ffbc7505f2090013b0049 | |
| parent | e2339178320778bf0d9300e22f968b2f61cad3b0 (diff) | |
[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.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | docs/ref/forms/fields.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index 39b0c17bc1..ce2dd1c6e1 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -816,7 +816,8 @@ Takes one extra required argument: * Normalizes to: A Python ``datetime.datetime`` object. * Validates that the given value is a ``datetime.datetime`` or string formatted in a particular datetime format. - * Error message keys: ``required``, ``invalid`` + * Error message keys: ``required``, ``invalid``, ``invalid_date``, + ``invalid_time`` Takes two optional arguments: |
