Skip to main content

Django app - bundle csrf token additioner for JavaScript

Project description

https://img.shields.io/pypi/v/django-ajax-csrf.svg https://img.shields.io/pypi/pyversions/django-ajax-csrf.svg https://img.shields.io/pypi/format/django-ajax-csrf.svg https://img.shields.io/pypi/l/django-ajax-csrf.svg
  • 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)

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-ajax-csrf-1.0.2.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

django_ajax_csrf-1.0.2-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 2 Python 3

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