This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

select2 meets Django staticfiles

Project Description

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.

Release History

Release History

This version
History Node

3.4.5

History Node

3.4.4

History Node

3.4.3

History Node

3.4.2

History Node

3.4.1

History Node

3.4.0

History Node

3.3.2

History Node

3.3.1

History Node

3.3.0

History Node

3.2

History Node

3.1

History Node

3.0

History Node

2.1

History Node

2.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_staticfiles_select2-3.4.5-py27-none-any.whl (91.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 7, 2014
django-staticfiles-select2-3.4.5.tar.gz (72.0 kB) Copy SHA256 Checksum SHA256 Source Mar 7, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting