Metadata-Version: 2.0
Name: django-intercoolerjs
Version: 1.0.3.0
Summary: Django wrapper for intercooler.js - AJAX With Attributes: There is no need to be complex.
Home-page: https://github.com/brejoc/django-intercoolerjs
Author: Jochen Breuer
Author-email: brejoc@gmail.com
License: MIT
Keywords: django,jquery,staticfiles,intercoolerjs
Platform: any
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 (>=1.3)

Django intercooler.js
=====================


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

`Django <https://www.djangoproject.com/>`_ 1.3 or later


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

::

    $ pip install django-intercoolerjs


Setup
-----

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

    INSTALLED_APPS = (
        # ...

        'django.contrib.staticfiles',
        'intercoolerjs',

        # ...
    )

Refer to Django `static files <https://docs.djangoproject.com/en/dev/howto/static-files/>`_
documentation to configure and deploy static files.


Usage
-----

You use intercooler.js in your Django templates like this::

    {% load static %}

    <!-- only if you also need jQuery -->
    <script src="{% static "intercoolerjs/js/jquery.js" %}"></script>
    <!-- this is the minified intercooler.js -->
    <script src="{% static "intercoolerjs/js/intercooler.min.js" %}"></script>


