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.2.4.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

django_select2-7.2.4-py2.py3-none-any.whl (14.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-select2-7.2.4.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for django-select2-7.2.4.tar.gz
Algorithm Hash digest
SHA256 4dd156a9e3b9126b9f1e3fa711cefb4731d9ff3aaaa415b1b92d58d8e6040cb6
MD5 e99363e8727c091d25790f0b50c43bea
BLAKE2b-256 84e7af48b5020925c1abeba7dbcb8c859e24fc1285fe8b9f5790a19b9e1d8823

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: django_select2-7.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for django_select2-7.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8db488c25ce3661077587aff736a9eccf40a25d20734dc27c5516723c4b5194a
MD5 cff123dede5f49e899352ed2afa79711
BLAKE2b-256 532a1478980775dd45c9fff42e8e1da61a59efebef574763bb9eae51cbacf08f

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