Skip to main content

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

Project description

JQuery 2.1.4


Django 1.4 or later


$ pip install django-static-jquery==2.1.4


Just add 'django.contrib.staticfiles' and 'django_static_jquery' to INSTALLED_APPS in your

    # ...


    # ...

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


You can refer to jquery in your template with:

{% load staticfiles %}
{% static 'static_jquery/js/jquery.js' %}

Admin template customization:

{% load staticfiles %}

{% extends "admin/base_site.html" %}

{% block extrahead %}
    <script type="text/javascript" src="{% static 'static_jquery/js/jquery.js' %}" />
{% endblock %}

Static files:

static_jquery/js/jquery.js - JQuery - v2.1.4
static_jquery/js/jquery.min.js - JQuery (min) - v2.1.4
static_jquery/js/ - JQuery (map) - v2.1.4

static_jquery/js/jquery-migrate.js - jQuery Migrate - v1.2.1
static_jquery/js/jquery-migrate.min.js - jQuery Migrate (min) - v1.2.1

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-static-jquery-2.1.4.tar.gz (163.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page