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:
parent
b9290b1d49
commit
6b5926978b
@ -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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user