Welcome to django.js documentation!

Django.js provides tools for JavaScript development with Django.

Django.js is inspired from:

Note

This is currently a work in progress (API wil not be stable before 1.0) so don’t expect it to be perfect but please submit an issue for any bug you find or any feature you want.

Compatibility

Django.js requires Python 2.6+ and Django 1.4.2+.

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')),
    ...
)

Note

Be sure to set the settings.ALLOWED_HOSTS properly (especially on Django 1.5+). If not, you will have HTTP 500 errors.

Indices and tables

Project Versions

Table Of Contents

Next topic

Template tags

This Page