Introducing select2 to Django!
Usage
This application is meant to be used with django-staticfiles. Make sure that staticfiles setup and configured, then install this application using pip:
pip install django-staticfiles-select2
Finally, make sure that select2 is listed in your INSTALLED_APPS. You can use this oneliner to add it as well:
INSTALLED_APPS += ['staticfiles_select2', ]
Then in your template code you can do this:
<link rel="stylesheet" href="{{ STATIC_URL }}staticfiles_select2/select2/select2.css">
and:
<script type="text/javascript" src="{{ STATIC_URL }}staticfiles_select2/select2/select2.min.js"></script>
Inspiration
Most part of this project are stolen from django-staticfiles-jquery.
Metadata
Release files for django-staticfiles-select2 3.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-staticfiles-select2-3.4.5.tar.gz | 72.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_staticfiles_select2-3.4.5-py27-none-any.whl | Python 2.7 | none | any | Details |
Total release size: 163.8 kB
Release files / django-staticfiles-select2-3.4.5.tar.gz
| Download URL | django-staticfiles-select2-3.4.5.tar.gz |
|---|---|
| Size | 72.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47b433c8933345e3600316ad5041a3c599c9071237033b321f42e983157bb94c
|
|
BLAKE2b-256 checksum How to use checksums |
d51ac80b205b9456a6d4b32137c1145e6d161ed782aef3c2f4a68c0e15ded65d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_staticfiles_select2-3.4.5-py27-none-any.whl
| Download URL | django_staticfiles_select2-3.4.5-py27-none-any.whl |
|---|---|
| Size | 91.8 kB |
| Tags | Python 2.7 |
|
SHA-256 checksum How to use checksums |
d1aba91dbe41d945664d7aba528f78594c24754ef20fcb1a35abef193ddf3f00
|
|
BLAKE2b-256 checksum How to use checksums |
e5555f344fc6096d44d35955e39ed8b2f110d136be1d5f82ff780dab891b9b17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-staticfiles-select2 3.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.