Metadata-Version: 2.0
Name: static-jquery
Version: 2.2.3.0
Summary: jQuery packaged in an handy django app to speed up new applications and deployment.
Home-page: https://github.com/wtayyeb/static-jquery
Author: wtayyeb
Author-email: wtayyeb@gmail.com
License: MIT
Keywords: django jquery staticfiles templatetags
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
Requires-Dist: django-appconf

Static jQuery
=============

Requirements
------------

`django-appconf`_

`django`_ 1.3 or later

Installation
------------

::

    $ pip install static-jquery
    $ pip install static-jquery==2.2.3.0

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 2.2.3.0 %}


.. _django: https://www.djangoproject.com/
.. _django-appconf: https://pypi.python.org/pypi/django-appconf/
.. _static files: https://docs.djangoproject.com/en/dev/howto/static-files/



