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

Uploaded Source

Built Distribution

django_select2-7.0.5-py2.py3-none-any.whl (13.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: django-select2-7.0.5.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for django-select2-7.0.5.tar.gz
Algorithm Hash digest
SHA256 107c7b708dff2408b8dcc786e0962fa29838783e6e0428f46aee0f6af7b87e6a
MD5 11f6a61275b66f0e2aa49367f44d9c44
BLAKE2b-256 a414ba44f97d7abfd9a4c93d5094f5583da3bdaa971c9ac1736970beaf8ae92e

See more details on using hashes here.

Provenance

File details

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

File metadata

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

File hashes

Hashes for django_select2-7.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ef0a07955c54854a8207b66e62b8b42e9f401dd9b353aa11df72b1e66b7838e5
MD5 72e1f8866a303188a77946ac56fb208b
BLAKE2b-256 e49cd3b6b43e205a2a9c924bf6b9b98449defeed5f74a188788ab51f527f3abc

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