Guest User

Untitled

a guest
Mar 19th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. from django.core.context_processors import csrf
  2.  
  3. csrf_tok = csrf(request)
  4. csrf_token = str(csrf_tok.get('csrf_token'))
Add Comment
Please, Sign In to add comment