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

Uploaded Source

Built Distribution

django_select2-7.2.2-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.2.tar.gz.

File metadata

  • Download URL: django-select2-7.2.2.tar.gz
  • Upload date:
  • Size: 18.7 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.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for django-select2-7.2.2.tar.gz
Algorithm Hash digest
SHA256 baa7f2fbc168c938390d7a58222814239f1033053d2273f2c0e3c2dc1ec01f5c
MD5 97a86c32432c146487a8868623cfe0db
BLAKE2b-256 3a0db1c2bfb4e19bcabedd5d28fc0ec366da22b3123ab73d279709d59df69e27

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: django_select2-7.2.2-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.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

File hashes

Hashes for django_select2-7.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2569536066ea7f366b088bdcb76202b5b744576db708bd65254339522d7f68ce
MD5 409574a592768daa403455cb9373cdd1
BLAKE2b-256 68081c3fbe050f82ed1efdcdd32dbb34eec6ef2877de0d33a880f9f908b3a815

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