Update get_started.rst (#513)

explicit import to help us find Select2MultipleWidget
This commit is contained in:
Andrew Benedict Wallace 2018-09-05 23:13:59 -07:00 committed by Johannes Hoppe
parent d34cd2e5de
commit 82859121a6

View file

@ -39,6 +39,8 @@ Replacing::
with::
from django_select2.forms import Select2MultipleWidget
class MyForm(forms.Form):
things = ModelMultipleChoiceField(queryset=Thing.objects.all(), widget=Select2MultipleWidget)