Class SplitDateTimeWidget
A widget that splits datetime input into two <input type="text"> boxes.
Declaration
source linkDocumentation
Methods
▶ def __init__(self, attrs=None, date_format=None, time_format=None, date_attrs=None, ...) override def __init__(
self,
attrs=None,
date_format=None,
time_format=None,
date_attrs=None,
time_attrs=None,
)
This method overrides django.forms.widgets.MultiWidget.__init__.
Overrides
This method is overriden in:
▶ def decompress(self, value) overrideinherited doc Return a list of decompressed values for the given compressed value. The given value can be assumed to be valid, but not necessarily non-empty.