class documentation

class ManyToManyRawIdWidget(ForeignKeyRawIdWidget): (source)

View In Hierarchy

A Widget for displaying ManyToMany ids in the "raw_id" interface rather than in a <select multiple> box.

Method format_value Return a value as it should appear when rendered in a template.
Method get_context Undocumented
Method label_and_url_for_value Undocumented
Method url_parameters Undocumented
Method value_from_datadict Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided.
Class Variable template_name Undocumented

Inherited from ForeignKeyRawIdWidget:

Method __init__ Undocumented
Method base_url_parameters Undocumented
Instance Variable admin_site Undocumented
Instance Variable db Undocumented
Instance Variable rel Undocumented

Inherited from TextInput (via ForeignKeyRawIdWidget):

Class Variable input_type Undocumented

Inherited from Widget (via ForeignKeyRawIdWidget, TextInput, Input):

Method __deepcopy__ Undocumented
Method build_attrs Build an attribute dictionary.
Method id_for_label Return the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Return an empty string if no ID is available.
Method render Render the widget as an HTML string.
Method subwidgets Undocumented
Method use_required_attribute Undocumented
Method value_omitted_from_data Undocumented
Class Variable is_localized Undocumented
Class Variable is_required Undocumented
Class Variable needs_multipart_form Undocumented
Class Variable supports_microseconds Undocumented
Class Variable use_fieldset Undocumented
Instance Variable attrs Undocumented
Property is_hidden Undocumented
Method _render Undocumented
def format_value(self, value): (source)

Return a value as it should appear when rendered in a template.

def get_context(self, name, value, attrs): (source)
def label_and_url_for_value(self, value): (source)
def value_from_datadict(self, data, files, name): (source)

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