1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

This commit is contained in:
Tim Graham 2016-05-07 20:01:15 -04:00
parent b9290b1d49
commit 6b5926978b

View File

@ -771,7 +771,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: