Skip to main content

Django app - bundle csrf token additioner for JavaScript

Project description

django-ajax-csrf
================

.. image:: https://badge.fury.io/py/django-ajax-csrf.svg
:target:: https://pypi.python.org/pypi/django-ajax-csrf
.. image:: https://img.shields.io/pypi/pyversions/django-ajax-csrf.svg
:target:: https://pypi.python.org/pypi/django-ajax-csrf
.. image:: https://img.shields.io/pypi/wheel/django-ajax-csrf.svg
:target: https://pypi.python.org/pypi/django-ajax-csrf
.. image:: https://img.shields.io/pypi/format/django-ajax-csrf.svg
:target: https://pypi.python.org/pypi/django-ajax-csrf
.. image:: https://img.shields.io/pypi/l/django-ajax-csrf.svg
:target: https://pypi.python.org/pypi/django-ajax-csrf

* Requires jQuery javascript library

Installation
------------

.. code:: bash

$ pip install django-ajax-csrf

.. code:: python

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

Uploaded Source

Built Distribution

django_ajax_csrf-1.0.1-py2.py3-none-any.whl (4.8 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