django :: forms :: widgets :: SplitDateTimeWidget :: Class SplitDateTimeWidget
[hide private]
[frames] | no frames]

Class SplitDateTimeWidget


A Widget that splits datetime input into two <input type="text"> boxes.

Nested Classes [hide private]

Inherited from Widget: __metaclass__

Instance Methods [hide private]
 
__init__(self, attrs=None, date_format=None, time_format=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
decompress(self, value)
Returns a list of decompressed values for the given compressed value.

Inherited from MultiWidget: __deepcopy__, format_output, render, value_from_datadict

Inherited from MultiWidget (private): _get_media, _has_changed

Inherited from Widget: build_attrs

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from MultiWidget: id_for_label

Class Variables [hide private]
  date_format = '%Y-%m-%d'
  time_format = '%H:%M:%S'

Inherited from Widget: is_hidden, is_localized, needs_multipart_form

Properties [hide private]
  media
Media for a multiwidget is the combination of all media of the subwidgets

Inherited from object: __class__

Method Details [hide private]

__init__(self, attrs=None, date_format=None, time_format=None)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

decompress(self, value)

 

Returns a list of decompressed values for the given compressed value. The given value can be assumed to be valid, but not necessarily non-empty.

Overrides: MultiWidget.decompress
(inherited documentation)

Property Details [hide private]

media

Media for a multiwidget is the combination of all media of the subwidgets

Get Method:
unreachable._media(self)