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 py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page