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 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.2-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for django-ajax-csrf-1.0.2.tar.gz
Algorithm Hash digest
SHA256 1ea8bf761bb3210d37a2db844af42d21fcc79c12bfd875e575242fae65239e4f
MD5 51ba4c94c56d94b61ab09863a18bb408
BLAKE2b-256 e0a1a4733170421b10bcf94ce7f03a742fc102859fb86571a18b1fa3365c8b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_ajax_csrf-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 563c7b4f968b2fe0346bc13b951fdbbe7cf31e31ecdb3a15e274828bf61c2105
MD5 1770db5f096937cdec2c22cb95506781
BLAKE2b-256 ad00c25ddcf836fcc517bd8e25f15a7873bdb5b435e779755709850f8def737f

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