diff options
| author | Gabriel Hurley <gabehr@gmail.com> | 2011-02-27 21:16:58 +0000 |
|---|---|---|
| committer | Gabriel Hurley <gabehr@gmail.com> | 2011-02-27 21:16:58 +0000 |
| commit | 28123d715389d85e78b757287baedf577d71c4a9 (patch) | |
| tree | b7ae504a522c5dcecd5975194a0aee6bcdf65470 /docs/ref/forms | |
| parent | 2dfbe92d7c292cd395a00246ce7aa0ca0bf96e5e (diff) | |
Fixed #15492 -- Documented the `invalid_date` and `invalid_time` error keys for !SplitDateTimeField. Thanks to lode for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
| -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 3b19dda10e..b49864f7cf 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -836,7 +836,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: |
