<form action="" method="post">{% csrf_token %}
...
</form>Forbidden (403) CSRF verification failed. Request aborted.def my_view(request):
c = {}
c.update(csrf(request))
age = 28
return render_to_response("template.html", c) from django.shortcuts import render
def my_view(request):
context = {}
return render(request, "template.html", context)