class documentation

class AutocompleteSelect(AutocompleteMixin, forms.Select):

View In Hierarchy

Undocumented

Inherited from AutocompleteMixin:

Method __init__ Undocumented
Method build​_attrs Set select2's AJAX attributes.
Method get​_url Undocumented
Method optgroups Return selected options based on the ModelChoiceIterator.
Class Variable url​_name Undocumented
Instance Variable admin​_site Undocumented
Instance Variable attrs Undocumented
Instance Variable choices Undocumented
Instance Variable db Undocumented
Instance Variable field Undocumented
Instance Variable i18n​_name Undocumented
Property media Undocumented

Inherited from Select:

Static Method ​_choice​_has​_empty​_value Return True if the choice's value is empty string or None.
Method get​_context Undocumented
Method use​_required​_attribute Don't render 'required' if the first <option> has a value, as that's invalid HTML.
Class Variable add​_id​_index Undocumented
Class Variable checked​_attribute Undocumented
Class Variable input​_type Undocumented
Class Variable option​_inherits​_attrs Undocumented
Class Variable option​_template​_name Undocumented
Class Variable template​_name Undocumented

Inherited from ChoiceWidget (via Select):

Method __deepcopy__ Undocumented
Method __init__ Undocumented
Method create​_option Undocumented
Method format​_value Return selected values as a list.
Method id​_for​_label Use an incremented id for each option where the main widget references the zero index.
Method optgroups Return a list of optgroups for this widget.
Method options Yield a flat list of options for this widgets.
Method subwidgets Yield all "subwidgets" of this widget. Used to enable iterating options from a BoundField for choice widgets.
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 allow​_multiple​_selected Undocumented
Instance Variable choices Undocumented

Inherited from Widget (via Select, ChoiceWidget):

Method ​_render Undocumented
Method build​_attrs Build an attribute dictionary.
Method render Render the widget as an HTML string.
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
Instance Variable attrs Undocumented
Property is​_hidden Undocumented