Skip to main content

Select2 for Django

Project description

Select2 for Django

Select2 packaged in a Django reusable app.

This package includes the original JS and CSS files from the library.

Installation

pip install django-js-lib-select2

Usage

  1. Add "js_lib_select2" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        "js_lib_select2",
        ...
    ]
    
  2. In your template use:

    {% load static %}
    

    ...

    <link rel="stylesheet" href="{%static "js_lib_select2/css/select2.css" %}">
    

    ...

    <script src="{%static "js_lib_select2/js/select2.js" %}"></script>
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_js_lib_select2-4.0.13.0.tar.gz (133.5 kB view details)

Uploaded Source

Built Distribution

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

django_js_lib_select2-4.0.13.0-py3-none-any.whl (163.6 kB view details)

Uploaded Python 3

File details

Details for the file django_js_lib_select2-4.0.13.0.tar.gz.

File metadata

File hashes

Hashes for django_js_lib_select2-4.0.13.0.tar.gz
Algorithm Hash digest
SHA256 3a4f3c316520b91bb0dbad7199612e3b1330cea6c6d497c552dfe791d42a1d1d
MD5 a4d746c7b1f0c032c8bff802abeaec2e
BLAKE2b-256 547b287c2f81b34904bca8cf3feec74a53fa85632d666eb4403151f1ced4b628

See more details on using hashes here.

File details

Details for the file django_js_lib_select2-4.0.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_js_lib_select2-4.0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab7da22168fc900bac81b7404ad157fcac252bff529e7edf3f31ef33fa584704
MD5 3c092e30a1f5a71e6baedda4aba114e8
BLAKE2b-256 a4a3015ad3fb6d1710a23d4aa47a1c239d8101fafdb7315915dc0d1e9ca16534

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