Select2 option fields for Django
Project description
This is a Django integration of Select2.
The app includes Select2 driven Django Widgets.
Note
Django’s admin comes with builtin support for Select2 since version 2.0 via the autocomplete_fields feature.
Installation
- Install django_select2
pip install django_select2
- Add django_select2 to your INSTALLED_APPS in your project settings.
- 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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size django_select2-7.1.1-py2.py3-none-any.whl (14.0 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size django-select2-7.1.1.tar.gz (16.9 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for django_select2-7.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad12132e764ce8099bc2746e6af2f33a952b49eb63f3b062eb4739cd4304ee2f |
|
MD5 | 77d5853561760df8f20201a4d9bdfb47 |
|
BLAKE2-256 | 331206b41f5cc5afa172c44cc7b8d95c2a0d5e69b64b9ef4fb7b9528e39a0ba1 |