mirror of
https://github.com/django/django.git
synced 2025-11-10 16:11:59 +00:00
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
This commit is contained in:
parent
2dfbe92d7c
commit
28123d7153
1 changed files with 2 additions and 1 deletions
|
|
@ -836,7 +836,8 @@ Takes one extra required argument:
|
||||||
* Normalizes to: A Python ``datetime.datetime`` object.
|
* Normalizes to: A Python ``datetime.datetime`` object.
|
||||||
* Validates that the given value is a ``datetime.datetime`` or string
|
* Validates that the given value is a ``datetime.datetime`` or string
|
||||||
formatted in a particular datetime format.
|
formatted in a particular datetime format.
|
||||||
* Error message keys: ``required``, ``invalid``
|
* Error message keys: ``required``, ``invalid``, ``invalid_date``,
|
||||||
|
``invalid_time``
|
||||||
|
|
||||||
Takes two optional arguments:
|
Takes two optional arguments:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue