Skip to main content

Select2 option fields for Django.

Project description

version ci coverage license

This is a Django integration of Select2.

The app includes Select2 driven Django Widgets.


Django’s admin comes with builtin support for Select2 since version 2.0 via the autocomplete_fields feature.


  1. Install django_select2
pip install django_select2
  1. Add django_select2 to your INSTALLED_APPS in your project settings.
  2. Add django_select to your urlconf if you use any “Auto” fields.
url(r'^select2/', include('django_select2.urls')),


Documentation available at

External Dependencies

  • jQuery version 2 This is not included in the package since it is expected that in most scenarios this would already be available.

Example Application

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_select2-6.3.1-py3-none-any.whl (13.3 kB) Copy SHA256 hash SHA256 Wheel py3
django-select2-6.3.1.tar.gz (28.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page