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

Class MultipleHiddenInput


A widget that handles <input type="hidden"> for fields that have a list of values.

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.
 
value_from_datadict(self, data, files, name)
Given a dictionary of data and this widget's name, returns the value of this widget.

Inherited from Input (private): _format_value

Inherited from Widget: __deepcopy__, build_attrs

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 HiddenInput: input_type, is_hidden

Inherited from Widget: 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)

value_from_datadict(self, data, files, name)

 

Given a dictionary of data and this widget's name, returns the value of this widget. Returns None if it's not provided.

Overrides: Widget.value_from_datadict
(inherited documentation)

Property Details [hide private]

media

Get Method:
unreachable._media(self)