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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_ajax_csrf-1.0.1-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-ajax-csrf-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-ajax-csrf-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1d8f76e9f11e1293ffd7e252957fff1c2b490613d244f2d78f53cb7118d161fb
MD5 e97f8a09fe48e2175828ef82aa49c6eb
BLAKE2b-256 650cbe02d10c9fef54dd47320001e4f7f5a669f6de39e4d58854269281a9ae79

See more details on using hashes here.

File details

Details for the file django_ajax_csrf-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_ajax_csrf-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 76ccb855f5c02c89a7cf8fff8ec4e78e32343d9056381d0112bad077115eb08f
MD5 d3f3f63947080a22a97ca744417ff5c7
BLAKE2b-256 94dd6532bddbc5370fcbd8d7ae2492fdac0edc00fa8a905ef6b4dd64e3ab9039

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page