A django app that contains the necessary javascript files to use knockback.js
Project description
Django-Knockback is a utility app that just contains all the javascript dependencies that are required in order to use knockback.js.
The app depends on django-compressor in order to serve knockback.js in both compressed and uncompressed forms.
The current versions of the javascript libraries are:
jQuery 1.9.1
Underscore 1.4.4
Backbone 1.0.0
Knockout 2.2.0
Knockback 0.17.0
Installation:
Open the console and then type:
pip install django-knockback
Usage:
Include the ‘knockback’ app in the INSTALLED_APPS and then type:
./manage.py collectstatic.
To include knockback.js into your page just include the knockback/knockback.html template into the <head> tag or extend the knockback/base.html template. The base.html has two blocks named head and body that contain the content of their respective tags.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-knockback-0.1.3.zip
.
File metadata
- Download URL: django-knockback-0.1.3.zip
- Upload date:
- Size: 174.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f6379e60ee335b70aa795f556e21a993522707777a09c9feb6da81f6d256a7 |
|
MD5 | ad7083b88c6a5f062fca9dd36c070132 |
|
BLAKE2b-256 | d13776bba9052f49f9558cdef863f196583731b081dc4c034840f35a8c49a08b |