Commit a90e297f authored by Gabriel Hurley's avatar Gabriel Hurley
Browse files

[1.2.X] Fixed #15492 -- Documented the `invalid_date` and `invalid_time` error...

[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
parent e2339178
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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: