django-ajax-csrf

Django app - bundle csrf token additioner for JavaScript


Keywords
django, csrf, staticfiles
License
MIT
Install
pip install django-ajax-csrf==0.1.2

Documentation

django-ajax-csrf

image

image

image

image

  • Requires jQuery javascript library

Installation

$ pip install django-ajax-csrf
INSTALLED_APPS += (
    'django_ajax',
)

Usage:

{% load csrf_tags %}
{% include_ajax_csrf_token %}

Authour

nnsnodnb

LICENSE

Copyright (c) 2017 Yuya Oka Released under the MIT license (see LICENSE)