noirbizarre/django.js — pull request #9 by rouge8 (2013-02-25 15:48:38+00:00)
Title: Add CSRF helpers to Django.js

`Django.csrf_token();` returns the value of the CSRF token.

`Django.csrf_element();` returns an element containing the CSRF token,
as if you were to use `{% csrf_token %}`.

I haven't written any tests for this, I'm not familiar enough with Jasmine to do so.