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.
Documentation¶
- Template tags
- Django javascript module
- RequireJS integration
- Javascript test tools
- Integration with other Django apps
- Management Commands
- Settings
- API
djangojs
– Main packagedjangojs.context_serializer
– Context serialization handlingdjangojs.views
– Javascript views helpersdjangojs.runners
– Javascript unittest runnersdjangojs.urls_serializer
– URLs serialization handlingdjangojs.utils
– Miscellaneous helpersdjangojs.tap
– Tap format parserdjangojs.templatetags.js
– Javascript template tagsdjangojs.context_processors
– Context processorsdjangojs.contrib
– Contributed compatibility modules
- Contributing
- Changelog
- Current
- 0.8.1 (2013-10-19)
- 0.8.0 (2013-07-14)
- 0.7.6 (2013-06-07)
- 0.7.5 (2013-06-01)
- 0.7.4 (2013-05-11)
- 0.7.3 (2013-04-30)
- 0.7.2 (2013-04-30)
- 0.7.1 (2013-04-25)
- 0.7.0 (2013-04-25)
- 0.6.5 (2013-03-13)
- 0.6.4 (2013-03-10)
- 0.6.3 (2013-03-08)
- 0.6.2 (2013-02-18)
- 0.6.1 (2013-02-11)
- 0.6 (2013-02-09)
- 0.5 (2012-12-17)
- 0.4 (2012-12-04)
- 0.3.2 (2012-11-10)
- 0.3.1 (2012-11-03)
- 0.3 (2012-11-02)
- 0.2 (2012-10-23)
- 0.1.3 (2012-10-02)