1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #5851 -- Allowed specifying different HTML attrs for SplitDateTimeWidget subwidgets.

Thanks Tim Graham and Nick Pope for review.
This commit is contained in:
Mariusz Felisiak
2017-01-13 12:48:30 +01:00
committed by Tim Graham
parent 3a148f958d
commit 0034e9af18
5 changed files with 52 additions and 9 deletions

View File

@@ -136,11 +136,14 @@ File Uploads
* ...
Forms
~~~~~
* ...
* The new ``date_attrs`` and ``time_attrs`` arguments for
:class:`~django.forms.SplitDateTimeWidget` and
:class:`~django.forms.SplitHiddenDateTimeWidget` allow specifying different
HTML attributes for the ``DateInput`` and ``TimeInput`` (or hidden)
subwidgets.
Generic Views
~~~~~~~~~~~~~