Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brejoc/django-intercoolerjs
Django wrapper for intercooler.js - AJAX With Attributes: There is no need to be complex.
https://github.com/brejoc/django-intercoolerjs
ajax django django-intercoolerjs hacktoberfest intercoolerjs javascript jquery python zepto
Last synced: about 2 hours ago
JSON representation
Django wrapper for intercooler.js - AJAX With Attributes: There is no need to be complex.
- Host: GitHub
- URL: https://github.com/brejoc/django-intercoolerjs
- Owner: brejoc
- License: mit
- Created: 2017-02-07T11:39:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T13:33:17.000Z (about 5 years ago)
- Last Synced: 2024-11-11T13:32:09.421Z (8 days ago)
- Topics: ajax, django, django-intercoolerjs, hacktoberfest, intercoolerjs, javascript, jquery, python, zepto
- Language: Python
- Homepage:
- Size: 128 KB
- Stars: 30
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Django intercooler.js
=====================django-intercooler.js is just a Django wrapper for [intercooler.js](http://intercoolerjs.org/).
Requirements
------------[Django](https://www.djangoproject.com/) 1.3 or later
Installation
------------```bash
$ pip install django-intercoolerjs
```Setup
-----Just add `'django.contrib.staticfiles'` and `'intercoolerjs'` to INSTALLED_APPS in
your settings.py
```python
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 %}```
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.