From 28123d715389d85e78b757287baedf577d71c4a9 Mon Sep 17 00:00:00 2001 From: Gabriel Hurley Date: Sun, 27 Feb 2011 21:16:58 +0000 Subject: [PATCH] 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 --- docs/ref/forms/fields.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: