Fix typo in docstring ChoicesField -> ChoiceField (#472)

It's `django.forms.ChoiceField`, not `django.forms.ChoicesField`.

Used correctly here: 
a9aa31146f/django_select2/forms.py (L143)
This commit is contained in:
Jan Pieter Waagmeester 2018-05-06 13:02:38 +02:00 committed by Johannes Hoppe
parent a9aa31146f
commit 2ea6ef8edb

View file

@ -277,7 +277,7 @@ class HeavySelect2Widget(HeavySelect2Mixin, Select2Widget):
or::
class MyForm(forms.Form):
my_field = forms.ChoicesField(
my_field = forms.ChoiceField(
widget=HeavySelect2Widget(
data_url='/url/to/json/response'
)