Skip to main content

Django intercooler.js

django-intercooler.js is just a Django wrapper for intercooler.js.

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>

Since version 1.1.0 of intercooler.js it is also possible to use zepto as an alternative to jQuery. zepto is not yet bundled with django-intercoolerjs.

Version numbers

We are keeping the intercooler.js version number, so that intercooler.js releases can easily be spotted in django-intercoolerjs. But, since we also need a version number, an other dot number is added.

If intercooler.js version 1.0.3. is the current release, django-intercoolerjs will have the version number 1.0.3.0. This last number will be incremented with every release of django-intercoolerjs.

Demo

A demo project can be found in the 'demo' folder along with a README.

Release files for django-intercoolerjs 1.2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-intercoolerjs 1.2.3.0
File Size Uploaded
django-intercoolerjs-1.2.3.0.tar.gz 53.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-intercoolerjs 1.2.3.0
File Interpreter ABI Platform
django_intercoolerjs-1.2.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 110.1 kB

Release files / django-intercoolerjs-1.2.3.0.tar.gz

Download URL django-intercoolerjs-1.2.3.0.tar.gz
Size 53.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9cf4e9f553772fc7869bb62af2d716c45c38bcce89701fbcefc77e76d581cece
BLAKE2b-256 checksum
How to use checksums
12f162c1c77861f9f8ba3f0c59aacb0e4f8a36a9907c0d86a7d9aa2791694871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.5

Release files / django_intercoolerjs-1.2.3.0-py2.py3-none-any.whl

Download URL django_intercoolerjs-1.2.3.0-py2.py3-none-any.whl
Size 56.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4d52dc3bfa6c31eb7073a92cfb7d03a2cf50048e9ed44f294ae6105e1dd00941
BLAKE2b-256 checksum
How to use checksums
1f4c68bedc8b4aae8ee8b009075674d240f3eb8eb10cc0bf4262e29253a7438c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

1.2.3.0 This release

2 release files

1.2.2.0

1 release file

1.2.1.2

1 release file

1.2.1.1

1 release file

1.2.1.0

1 release file

1.2.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page