Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget.
This commit is contained in:
parent
b9290b1d49
commit
6b5926978b
|
@ -771,7 +771,8 @@ Composite widgets
|
||||||
.. class:: SplitDateTimeWidget
|
.. class:: SplitDateTimeWidget
|
||||||
|
|
||||||
Wrapper (using :class:`MultiWidget`) around two widgets: :class:`DateInput`
|
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:
|
``SplitDateTimeWidget`` has two optional attributes:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue