<imgsrc="_images/inheritance-0fe96ccf16c58c03ff780d0e9ebd6497cf928cf5.png"alt="Inheritance diagram of django_select2.fields.Select2ChoiceField, django_select2.fields.Select2MultipleChoiceField"usemap="#inheritance25da809ef3"class="inheritance"/>
<imgsrc="_images/inheritance-6d23c44f84c71d1c23cf34b95e2c63d439c048c2.png"alt="Inheritance diagram of django_select2.fields.ModelSelect2Field, django_select2.fields.ModelSelect2MultipleField"usemap="#inheritance2f6096d7d4"class="inheritance"/>
<imgsrc="_images/inheritance-c6e815b7c1b8f3b8f76ed3182a538908d31c224f.png"alt="Inheritance diagram of django_select2.fields.HeavyModelSelect2ChoiceField, django_select2.fields.HeavyModelSelect2MultipleChoiceField"usemap="#inheritance4f5879fafb"class="inheritance"/>
<imgsrc="_images/inheritance-3dba8eda1cfa0dd0c3f1349191fc0c989ea4a33d.png"alt="Inheritance diagram of django_select2.fields.AutoSelect2Field, django_select2.fields.AutoSelect2MultipleField"usemap="#inheritanceea81e519c1"class="inheritance"/>
<imgsrc="_images/inheritance-6a5b4ad122bee1a2199e3c0d4aa4992c54789bfb.png"alt="Inheritance diagram of django_select2.fields.AutoModelSelect2Field"usemap="#inheritance0bde21cdb9"class="inheritance"/>
<imgsrc="_images/inheritance-54e588202ed88a2b9c00b471d13f401a1f0ebb3d.png"alt="Inheritance diagram of django_select2.fields.AutoModelSelect2MultipleField"usemap="#inheritancea008ca3d81"class="inheritance"/>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">AutoViewFieldMixin</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoViewFieldMixin"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoViewFieldMixin"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoViewFieldMixin.__init__"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoViewFieldMixin.__init__"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>auto_id</strong> (<aclass="reference external"href="http://docs.python.org/2.7/library/functions.html#unicode"title="(in Python v2.7)"><ttclass="xref py py-obj docutils literal"><spanclass="pre">unicode</span></tt></a>) –<p>The key to use while registering this field. If it is not provided then
used like key in a <aclass="reference external"href="http://docs.python.org/2.7/library/stdtypes.html#dict"title="(in Python v2.7)"><ttclass="xref py py-obj docutils literal"><spanclass="pre">dict</span></tt></a> by <aclass="reference internal"href="ref_util.html#django_select2.util.register_field"title="django_select2.util.register_field"><ttclass="xref py py-func docutils literal"><spanclass="pre">util.register_field()</span></tt></a>.</p>
<p>If that key already exists then the instance is not registered again. So, eventually
all instances of an Auto field share one instance to respond to the Ajax queries for
its fields.</p>
<pclass="last">If for some reason any instance needs to be isolated then <ttclass="docutils literal"><spanclass="pre">auto_id</span></tt> can be used to
provide a unique key which has never occured before.</p>
<ttclass="descname">security_check</tt><big>(</big><em>request</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoViewFieldMixin.security_check"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoViewFieldMixin.security_check"title="Permalink to this definition">¶</a></dt>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first">A boolean value, signalling if check passed or failed.</p>
<ttclass="descname">get_results</tt><big>(</big><em>request</em>, <em>term</em>, <em>page</em>, <em>context</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoViewFieldMixin.get_results"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoViewFieldMixin.get_results"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.Select2ChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">Select2Widget</span></tt></p>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.Select2MultipleChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">Select2MultipleWidget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">ModelResultJsonMixin</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelResultJsonMixin"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelResultJsonMixin"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelResultJsonMixin.__init__"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelResultJsonMixin.__init__"title="Permalink to this definition">¶</a></dt>
<li><strong>queryset</strong> (<aclass="reference external"href="https://docs.djangoproject.com/en/1.4/ref/models/querysets/#django.db.models.query.QuerySet"title="(in Django v1.4.1)"><ttclass="xref py py-class docutils literal"><spanclass="pre">django.db.models.query.QuerySet</span></tt></a> or None) – This can be passed as kwarg here or defined as field variabel,
<li><strong>max_results</strong> (<aclass="reference external"href="http://docs.python.org/2.7/library/functions.html#int"title="(in Python v2.7)"><ttclass="xref py py-obj docutils literal"><spanclass="pre">int</span></tt></a>) – Maximum number to results to return per Ajax query.</li>
<li><strong>to_field_name</strong> (<aclass="reference external"href="http://docs.python.org/2.7/library/functions.html#str"title="(in Python v2.7)"><ttclass="xref py py-obj docutils literal"><spanclass="pre">str</span></tt></a>) – Which field’s value should be returned as result tuple’s
<ttclass="descname">label_from_instance</tt><big>(</big><em>obj</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelResultJsonMixin.label_from_instance"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelResultJsonMixin.label_from_instance"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">prepare_qs_params</tt><big>(</big><em>request</em>, <em>search_term</em>, <em>search_fields</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelResultJsonMixin.prepare_qs_params"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelResultJsonMixin.prepare_qs_params"title="Permalink to this definition">¶</a></dt>
<li><strong>search_fields</strong>– The list of search fields. This is same as <ttclass="docutils literal"><spanclass="pre">self.search_fields</span></tt>.</li>
</ul>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><pclass="first"><p>A dictionary of parameters to ‘or’ and ‘and’ together. The output format should
be</p>
<divclass="highlight-python"><pre>{
'or': [
Q(attr11=term11) | Q(attr12=term12) | ...,
Q(attrN1=termN1) | Q(attrN2=termN2) | ...,
...],
'and': {
'attrX1': termX1,
'attrX2': termX2,
...
}
}</pre>
</div>
<p>The above would then be coaxed into <ttclass="docutils literal"><spanclass="pre">filter()</span></tt> as below:</p>
<p>In this implementation, <ttclass="docutils literal"><spanclass="pre">term11,</span><spanclass="pre">term12,</span><spanclass="pre">termN1,</span><spanclass="pre">...</span></tt> etc., all are actually <ttclass="docutils literal"><spanclass="pre">search_term</span></tt>.
Also then <ttclass="docutils literal"><spanclass="pre">and</span></tt> part is always empty.</p>
<ttclass="descname">get_results</tt><big>(</big><em>request</em>, <em>term</em>, <em>page</em>, <em>context</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelResultJsonMixin.get_results"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelResultJsonMixin.get_results"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">UnhideableQuerysetType</tt><aclass="reference internal"href="_modules/django_select2/fields.html#UnhideableQuerysetType"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.UnhideableQuerysetType"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">ChoiceMixin</tt><aclass="reference internal"href="_modules/django_select2/fields.html#ChoiceMixin"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ChoiceMixin"title="Permalink to this definition">¶</a></dt>
<p>Simple mixin which provides a property –<ttclass="docutils literal"><spanclass="pre">choices</span></tt>. When <ttclass="docutils literal"><spanclass="pre">choices</span></tt> is set,
then it sets that value to <ttclass="docutils literal"><spanclass="pre">self.widget.choices</span></tt> too.</p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">QuerysetChoiceMixin</tt><aclass="reference internal"href="_modules/django_select2/fields.html#QuerysetChoiceMixin"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.QuerysetChoiceMixin"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">ModelSelect2Field</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelSelect2Field"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelSelect2Field"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.ModelSelect2Field.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">Select2Widget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">ModelSelect2MultipleField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#ModelSelect2MultipleField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.ModelSelect2MultipleField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.ModelSelect2MultipleField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">Select2MultipleWidget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavySelect2FieldBaseMixin</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavySelect2FieldBaseMixin"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavySelect2FieldBaseMixin"title="Permalink to this definition">¶</a></dt>
<p>Although Heavy fields accept <ttclass="docutils literal"><spanclass="pre">choices</span></tt> parameter like all Django choice fields, but these
fields are backed by big data sources, so <ttclass="docutils literal"><spanclass="pre">choices</span></tt> cannot possibly have all the values.</p>
<pclass="last">For Heavies, consider <ttclass="docutils literal"><spanclass="pre">choices</span></tt> to be a subset of all possible choices. It is available because users
<ttclass="descname">__init__</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavySelect2FieldBaseMixin.__init__"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavySelect2FieldBaseMixin.__init__"title="Permalink to this definition">¶</a></dt>
<li><strong>data_view</strong> (<aclass="reference external"href="https://docs.djangoproject.com/en/1.4/ref/class-based-views/#django.views.generic.base.View"title="(in Django v1.4.1)"><ttclass="xref py py-class docutils literal"><spanclass="pre">django.views.generic.base.View</span></tt></a> or None) – A <aclass="reference internal"href="ref_views.html#django_select2.views.Select2View"title="django_select2.views.Select2View"><ttclass="xref py py-class docutils literal"><spanclass="pre">Select2View</span></tt></a> sub-class which can respond to this widget’s Ajax queries.</li>
<pclass="last">Either of <ttclass="docutils literal"><spanclass="pre">data_view</span></tt> or <ttclass="docutils literal"><spanclass="pre">widget</span></tt> must be specified, else <ttclass="xref py py-exc docutils literal"><spanclass="pre">ValueError</span></tt> would
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavyChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyChoiceField"title="Permalink to this definition">¶</a></dt>
<p>Reimplements <aclass="reference external"href="https://docs.djangoproject.com/en/1.4/ref/forms/fields/#django.forms.TypedChoiceField"title="(in Django v1.4.1)"><ttclass="xref py py-class docutils literal"><spanclass="pre">django.forms.TypedChoiceField</span></tt></a> in a way which suites the use of big data.</p>
<pclass="last">Although this field accepts <ttclass="docutils literal"><spanclass="pre">choices</span></tt> parameter like all Django choice fields, but these
fields are backed by big data sources, so <ttclass="docutils literal"><spanclass="pre">choices</span></tt> cannot possibly have all the values. It is meant
<ttclass="descname">empty_value</tt><emclass="property"> = u''</em><aclass="headerlink"href="#django_select2.fields.HeavyChoiceField.empty_value"title="Permalink to this definition">¶</a></dt>
<dd><p>Sub-classes can set this other value if needed.</p>
<ttclass="descname">coerce_value</tt><big>(</big><em>value</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyChoiceField.coerce_value"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyChoiceField.coerce_value"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">validate_value</tt><big>(</big><em>value</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyChoiceField.validate_value"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyChoiceField.validate_value"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>value</strong> (As coerced by <aclass="reference internal"href="#django_select2.fields.HeavyChoiceField.coerce_value"title="django_select2.fields.HeavyChoiceField.coerce_value"><ttclass="xref py py-meth docutils literal"><spanclass="pre">coerce_value()</span></tt></a>.) – Value entered by the user.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><ttclass="docutils literal"><spanclass="pre">True</span></tt> means the <ttclass="docutils literal"><spanclass="pre">value</span></tt> is valid.</td>
<ttclass="descname">get_val_txt</tt><big>(</big><em>value</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyChoiceField.get_val_txt"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyChoiceField.get_val_txt"title="Permalink to this definition">¶</a></dt>
<dd><p>If Heavy widgets encounter any value which it can’t find in <ttclass="docutils literal"><spanclass="pre">choices</span></tt> then it calls
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>value</strong> (As coerced by <aclass="reference internal"href="#django_select2.fields.HeavyChoiceField.coerce_value"title="django_select2.fields.HeavyChoiceField.coerce_value"><ttclass="xref py py-meth docutils literal"><spanclass="pre">coerce_value()</span></tt></a>.) – Value entered by the user.</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body">The label for this value.</td>
</tr>
<trclass="field-odd field"><thclass="field-name">Return type:</th><tdclass="field-body"><aclass="reference external"href="http://docs.python.org/2.7/library/functions.html#unicode"title="(in Python v2.7)"><ttclass="xref py py-obj docutils literal"><spanclass="pre">unicode</span></tt></a> or None (when no possible label could be found)</td>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavyMultipleChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyMultipleChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyMultipleChoiceField"title="Permalink to this definition">¶</a></dt>
<p>Reimplements <aclass="reference external"href="https://docs.djangoproject.com/en/1.4/ref/forms/fields/#django.forms.TypedMultipleChoiceField"title="(in Django v1.4.1)"><ttclass="xref py py-class docutils literal"><spanclass="pre">django.forms.TypedMultipleChoiceField</span></tt></a> in a way which suites the use of big data.</p>
<pclass="last">Although this field accepts <ttclass="docutils literal"><spanclass="pre">choices</span></tt> parameter like all Django choice fields, but these
fields are backed by big data sources, so <ttclass="docutils literal"><spanclass="pre">choices</span></tt> cannot possibly have all the values. It is meant
<ttclass="descname">hidden_widget</tt><aclass="headerlink"href="#django_select2.fields.HeavyMultipleChoiceField.hidden_widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">MultipleHiddenInput</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavySelect2ChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavySelect2ChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavySelect2ChoiceField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.HeavySelect2ChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">HeavySelect2Widget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavySelect2MultipleChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavySelect2MultipleChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavySelect2MultipleChoiceField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.HeavySelect2MultipleChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">HeavySelect2MultipleWidget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavyModelSelect2ChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyModelSelect2ChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyModelSelect2ChoiceField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.HeavyModelSelect2ChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">HeavySelect2Widget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">HeavyModelSelect2MultipleChoiceField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#HeavyModelSelect2MultipleChoiceField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.HeavyModelSelect2MultipleChoiceField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.HeavyModelSelect2MultipleChoiceField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">HeavySelect2MultipleWidget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">AutoSelect2Field</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoSelect2Field"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoSelect2Field"title="Permalink to this definition">¶</a></dt>
<pclass="last"><ttclass="xref py py-exc docutils literal"><spanclass="pre">NotImplementedError</span></tt> would be thrown if <ttclass="xref py py-meth docutils literal"><spanclass="pre">get_results()</span></tt> is not implemented.</p>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.AutoSelect2Field.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">AutoHeavySelect2Widget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">AutoSelect2MultipleField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoSelect2MultipleField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoSelect2MultipleField"title="Permalink to this definition">¶</a></dt>
<pclass="last"><ttclass="xref py py-exc docutils literal"><spanclass="pre">NotImplementedError</span></tt> would be thrown if <ttclass="xref py py-meth docutils literal"><spanclass="pre">get_results()</span></tt> is not implemented.</p>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.AutoSelect2MultipleField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">AutoHeavySelect2MultipleWidget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">AutoModelSelect2Field</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoModelSelect2Field"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoModelSelect2Field"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.AutoModelSelect2Field.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">AutoHeavySelect2Widget</span></tt></p>
<emclass="property">class </em><ttclass="descclassname">django_select2.fields.</tt><ttclass="descname">AutoModelSelect2MultipleField</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><aclass="reference internal"href="_modules/django_select2/fields.html#AutoModelSelect2MultipleField"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#django_select2.fields.AutoModelSelect2MultipleField"title="Permalink to this definition">¶</a></dt>
<ttclass="descname">widget</tt><aclass="headerlink"href="#django_select2.fields.AutoModelSelect2MultipleField.widget"title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">AutoHeavySelect2MultipleWidget</span></tt></p>