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

Class Select


Nested Classes [hide private]

Inherited from Widget: __metaclass__

Instance Methods [hide private]
 
__init__(self, attrs=None, choices=())
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
render(self, name, value, attrs=None, choices=())
Returns this Widget rendered as HTML, as a Unicode string.
 
render_option(self, selected_choices, option_value, option_label)
 
render_options(self, choices, selected_choices)

Inherited from Widget: __deepcopy__, build_attrs, value_from_datadict

Inherited from Widget (private): _has_changed

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

Class Methods [hide private]

Inherited from Widget: id_for_label

Class Variables [hide private]

Inherited from Widget: is_hidden, is_localized, needs_multipart_form

Properties [hide private]
  media

Inherited from object: __class__

Method Details [hide private]

__init__(self, attrs=None, choices=())
(Constructor)

 

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

Overrides: object.__init__
(inherited documentation)

render(self, name, value, attrs=None, choices=())

 

Returns this Widget rendered as HTML, as a Unicode string.

The 'value' given is not guaranteed to be valid input, so subclass implementations should program defensively.

Overrides: Widget.render
(inherited documentation)

Property Details [hide private]

media

Get Method:
unreachable._media(self)