mirror of
https://github.com/django/django.git
synced 2025-08-10 05:48:15 +00:00
[1.9.x] Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget.
Backport of 6b5926978b
from master
This commit is contained in:
parent
d2dc188652
commit
86b346435a
1 changed files with 2 additions and 1 deletions
|
@ -762,7 +762,8 @@ Composite widgets
|
|||
.. class:: SplitDateTimeWidget
|
||||
|
||||
Wrapper (using :class:`MultiWidget`) around two widgets: :class:`DateInput`
|
||||
for the date, and :class:`TimeInput` for the time.
|
||||
for the date, and :class:`TimeInput` for the time. Must be used with
|
||||
:class:`SplitDateTimeField` rather than :class:`DateTimeField`.
|
||||
|
||||
``SplitDateTimeWidget`` has two optional attributes:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue