Skip to content

Commit

Permalink
Fixed #15492 -- Documented the invalid_date and invalid_time erro…
Browse files Browse the repository at this point in the history
…r 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
  • Loading branch information
Gabriel Hurley committed Feb 27, 2011
1 parent 2dfbe92 commit 28123d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/ref/forms/fields.txt
Expand Up @@ -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:

Expand Down

0 comments on commit 28123d7

Please sign in to comment.