Created
January 19, 2018 15:06
-
-
Save nix010/07b1dcf5a27d34c8d84c6682f205394e to your computer and use it in GitHub Desktop.
snippets Django
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajaxSetup({ | |
headers: { 'X-CSRFToken': "{{ csrf_token }}" } | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment