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 https://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.3.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: django-select2-7.3.0.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.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for django-select2-7.3.0.tar.gz
Algorithm Hash digest
SHA256 35d898c2d745a51b30446231474c9aaf5318ba69673baf20cf2aceb8bced553a
MD5 f67fd0bc792bc21a186c437ad3c999d6
BLAKE2b-256 17c92c030d7e73bb168d8027ef0dc703809c664ad0807032c342e50cff89dd82

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_select2-7.3.0-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.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for django_select2-7.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b213434d5f94db58fabb0d6f4ade427eff82f03f03f7c45c2db761d11db80f75
MD5 02fecab06155ddaeda35d3e10ce428d6
BLAKE2b-256 7c58705b8643d1a74d3cf668d1095fe04221e8e4a6efc714c686aa7773bade56

See more details on using hashes here.

Supported by

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