class documentation
class AutocompleteSelect(AutocompleteMixin, forms.Select): (source)
Undocumented
Inherited from AutocompleteMixin
:
Method | __init__ |
Undocumented |
Method | build |
Set select2's AJAX attributes. |
Method | get |
Undocumented |
Method | optgroups |
Return selected options based on the ModelChoiceIterator. |
Class Variable | url |
Undocumented |
Instance Variable | admin |
Undocumented |
Instance Variable | attrs |
Undocumented |
Instance Variable | choices |
Undocumented |
Instance Variable | db |
Undocumented |
Instance Variable | field |
Undocumented |
Instance Variable | i18n |
Undocumented |
Property | media |
Undocumented |
Inherited from Select
(via AutocompleteMixin
):
Method | get |
Undocumented |
Method | use |
Don't render 'required' if the first <option> has a value, as that's invalid HTML. |
Class Variable | add |
Undocumented |
Class Variable | checked |
Undocumented |
Class Variable | input |
Undocumented |
Class Variable | option |
Undocumented |
Class Variable | option |
Undocumented |
Class Variable | template |
Undocumented |
Static Method | _choice |
Return True if the choice's value is empty string or None. |
Inherited from ChoiceWidget
(via AutocompleteMixin
, Select
):
Method | __deepcopy__ |
Undocumented |
Method | create |
Undocumented |
Method | format |
Return selected values as a list. |
Method | id |
Use an incremented id for each option where the main widget references the zero index. |
Method | options |
Yield a flat list of options for this widget. |
Method | subwidgets |
Yield all "subwidgets" of this widget. Used to enable iterating options from a BoundField for choice widgets. |
Method | value |
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 |
Undocumented |
Inherited from Widget
(via AutocompleteMixin
, Select
, ChoiceWidget
):
Method | render |
Render the widget as an HTML string. |
Method | value |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | needs |
Undocumented |
Class Variable | supports |
Undocumented |
Class Variable | use |
Undocumented |
Property | is |
Undocumented |
Method | _render |
Undocumented |