This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Integrates live.js into your django project.

There is already a project named django-livejs, so I added “2” to the name to avoid conflict. (Additionally I think my version is better than that one :P )

Installation

  1. Either run python setup.py install or use pip to install the package.
  2. Edit your settings.py to add 'django_livejs2.middleware.LiveJsMiddleware' to MIDDLEWARE_CLASSES. Also add 'django_livejs2' to INSTALLED_APPS if you want to use the shipped live.js.

Usage

Just visit any page with live=1 in query string to enable the module. When enabled, live.js will be included in every HTML page. The module will also make all files uncacheable by browser, so that any updates to static files will have effect immediately. (Without that Firefox may cache static files for 1 minute)

Disabling is also easy, visit any page with live=0 in query string and you are done.

Note: If settings.DEBUG is not True, the module will be completely disabled since it is not really useful in production environment.

Settings

LIVEJS2_SCRIPT_SRC

If you want to use a custom version of live.js, set this to URL of the script.

Release History

Release History

1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-livejs2-1.0.tar.gz (6.6 kB) Copy SHA256 Checksum SHA256 Source Oct 13, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting