mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-03-16 21:40:23 +00:00
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:
parent
a9aa31146f
commit
2ea6ef8edb
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue