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.

Installation

  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

Documentation available at http://django-select2.readthedocs.io/.

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.

Changelog

See Github releases

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django-select2-7.1.2.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

django_select2-7.1.2-py2.py3-none-any.whl (14.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-select2-7.1.2.tar.gz.

File metadata

  • Download URL: django-select2-7.1.2.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for django-select2-7.1.2.tar.gz
Algorithm Hash digest
SHA256 bcd7e5fc920ceee0e63c36372d8e75bd2254d8a37ac67fc16581634766680d30
MD5 04e82a449f04a12da4e9f22ee4f1cf0e
BLAKE2b-256 af4801260b8e05f4c38b23e66014a05da8a3cd12ba3d4b3554bb2c85a521f901

See more details on using hashes here.

Provenance

File details

Details for the file django_select2-7.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: django_select2-7.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.1

File hashes

Hashes for django_select2-7.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c8c4c7c4afee12c17e64d1eabf77af4cd2666a784cba1e74455ce759dd29393
MD5 073821c46b39e1886dbf6e0e56052688
BLAKE2b-256 08cdfc65153fa3369b240c95b87ba48f904c8fa12e4fa8c3b955d8eb82bd45fc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page