Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get csrf_token value in django template

# get csrf token value in template
{{ csrf_token }}
# render a input form element 
{% csrf_token %}
 
PREVIOUS NEXT
Tagged: #django #template
ADD COMMENT
Topic
Name
4+7 =