Commit 86b34643 authored by Tim Graham's avatar Tim Graham
Browse files

[1.9.x] Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget.

Backport of 6b592697 from master
parent d2dc1886
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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: