Skip to main content

Django JS Tools

Project description

https://secure.travis-ci.org/noirbizarre/django.js.png

Django.js provides tools for JavaScript development with Django.

Django.js is inspired from:

This is currently a work in progress so don’t expect it to be perfect but please submit an issue for any bug you find or any feature you want.

Installation

You can install Django.JS with pip:

$ pip install django.js

or with easy_install:

$ easy_install django.js

Add djangojs to your settings.INSTALLED_APPS.

Add djangojs.urls to your root URL_CONF:

urlpatterns = patterns('',
    ...
    url(r'^djangojs/', include('djangojs.urls')),
    ...
)

Documentation

The documentation is hosted on Read the Docs

Changelog

0.3 (2012-11-02)

  • Improved ready event handling

  • Removed runners from urls.py

  • Added documentation

  • Added ContextJsonView and Django.context fetched from json.

  • Improved error handling

  • Added DjangoJsError custom error type

0.2 (2012-10-23)

  • Refactor template tag initialization

  • Provides Jasmine and QUnit test views with test discovery (globbing)

  • Provides Jasmine and QUnit test cases

  • Added Django.file()

  • Added {% javascript %}, {% js %} and {% css %} template tags

0.1.3 (2012-10-02)

  • First public release

  • Provides django.js with url() method and constants

  • Provides {% verbatim %} template tag

  • Patch jQuery.ajax() to handle CSRF tokens

  • Loads the django javascript catalog for all apps supporting it

  • Loads the django javascript i18n/l10n tools in the page

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.js-0.3.tar.gz (114.3 kB view hashes)

Uploaded Source

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