jQuery packaged in an handy django app to speed up new applications and deployment.


Keywords
django, jquery, staticfiles, templatetags
License
MIT
Install
pip install static-jquery==3.2.1.0

Documentation

Static jQuery

Requirements

django-appconf

django 1.3 or later

Installation

$ pip install static-jquery
$ pip install static-jquery==%(version)s

Setup

Just add 'django.contrib.staticfiles' and 'jquery' to INSTALLED_APPS in your settings.py:

INSTALLED_APPS = (
    # ...
    'django.contrib.staticfiles',
    'jquery',
    # ...
)

Refer to Django static files documentation to configure and deploy static files.

Usage

You can refer to jquery in your template with:

{%% load jquery %%}
{%% jquery_js %%}
or
{%% jquery_js %(version)s %%}