This is a Django integration of Select2.
The app includes Select2 driven Django Widgets.
Note
Django's admin comes with builtin support for Select2 since version 2.0 via the autocomplete_fields feature.
- Install
django_select2
pip install django_select2
- Add
django_select2
to yourINSTALLED_APPS
in your project settings. - Add
django_select
to your urlconf if you use any "Auto" fields.
url(r'^select2/', include('django_select2.urls')),
Documentation available at http://django-select2.readthedocs.io/.
- jQuery version 2 This is not included in the package since it is expected that in most scenarios this would already be available.
Please see tests/testapp
application. This application is used to
manually test the functionalities of this package. This also serves as a
good example.
See Github releases