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:
committed by
Tim Graham
parent
3a148f958d
commit
0034e9af18
@@ -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
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user