8000 Update get_started.rst (#513) · codingjoe/django-select2@8285912 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8285912

Browse files
sourcefiltercodingjoe
authored andcommitted
Update get_started.rst (applegrew#513)
explicit import to help us find Select2MultipleWidget
1 parent d34cd2e commit 8285912

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/get_started.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ Replacing::
3939

4040
with::
4141

42+
from django_select2.forms import Select2MultipleWidget
43+
4244
class MyForm(forms.Form):
4345
things = ModelMultipleChoiceField(queryset=Thing.objects.all(), widget=Select2MultipleWidget)
4446

0 commit comments

Comments
 (0)
0