Django wrapper for intercooler.js - AJAX With Attributes: There is no need to be complex.
Project description
Requirements
Django 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 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>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-intercoolerjs-1.0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79f1057c6f00b1d8d2bf8d2716a3004fd84a59e437a113fb027d69f31a14cba0 |
|
MD5 | 9d4678975f7d456ad63aac7ad7842e63 |
|
BLAKE2b-256 | ccd53fb68d01cceb5ce87305c20a80184b4f85de462bca1b6179a14fa3609276 |
Close
Hashes for django_intercoolerjs-1.0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a96145a13f9219af1fd6c5d5a08892bd8eab1da3006a57e3a951ed11329a6f7 |
|
MD5 | 5dda9a9bc1a04d98e963a73afcc4f0bb |
|
BLAKE2b-256 | 53f397b34ac1c6f932abf9fce910532297ddc2b920239855b649b23240ef2c58 |