Kaydet (Commit) 6b592697 authored tarafından Tim Graham's avatar Tim Graham

Refs #8898 -- Documented requirement to use SplitDateTimeField with SplitDateTimeWidget.

üst b9290b1d
...@@ -771,7 +771,8 @@ Composite widgets ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment