Skip to main content

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.8.3

  • Underscore 1.4.3

  • Backbone 0.9.9

  • Knockout 2.2.0

  • Knockback 0.16.8

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.js 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

django-knockback-0.1.1.zip (164.5 kB view details)

Uploaded Source

File details

Details for the file django-knockback-0.1.1.zip.

File metadata

File hashes

Hashes for django-knockback-0.1.1.zip
Algorithm Hash digest
SHA256 8b80f5ebe3c7113e11db13390323de8246c33b3f32ad870741a400011a91ce87
MD5 7213ab73a25a4bac83f0da213513dda4
BLAKE2b-256 38f8b4806fa93ca86cbcfcb65d569d8dc52a51f3630c14f95686b73cb5c14453

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page