Django app - bundle csrf token additioner for JavaScript
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-ajax-csrf-1.0.2.tar.gz
.
File metadata
- Download URL: django-ajax-csrf-1.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ea8bf761bb3210d37a2db844af42d21fcc79c12bfd875e575242fae65239e4f |
|
MD5 | 51ba4c94c56d94b61ab09863a18bb408 |
|
BLAKE2b-256 | e0a1a4733170421b10bcf94ce7f03a742fc102859fb86571a18b1fa3365c8b45 |
Provenance
File details
Details for the file django_ajax_csrf-1.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_ajax_csrf-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563c7b4f968b2fe0346bc13b951fdbbe7cf31e31ecdb3a15e274828bf61c2105 |
|
MD5 | 1770db5f096937cdec2c22cb95506781 |
|
BLAKE2b-256 | ad00c25ddcf836fcc517bd8e25f15a7873bdb5b435e779755709850f8def737f |