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

Uploaded Source

Built Distribution

django_select2-7.1.1-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.1.tar.gz.

File metadata

  • Download URL: django-select2-7.1.1.tar.gz
  • Upload date:
  • Size: 16.9 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.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for django-select2-7.1.1.tar.gz
Algorithm Hash digest
SHA256 e4beb0e4af27f71e9e2e2f52441aecdb24d401942f18a0375031767cd0e2e5a0
MD5 61d381d5ff843ef58df08fc522857072
BLAKE2b-256 ce1677b3aaf4f88f343a7c7adb6bbfe2375f103ebc777a4a603a661f115e0a32

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: django_select2-7.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.1

File hashes

Hashes for django_select2-7.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ad12132e764ce8099bc2746e6af2f33a952b49eb63f3b062eb4739cd4304ee2f
MD5 77d5853561760df8f20201a4d9bdfb47
BLAKE2b-256 331206b41f5cc5afa172c44cc7b8d95c2a0d5e69b64b9ef4fb7b9528e39a0ba1

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