标签:
from django.template import Template, Context, RequestContext
def newproject(request):
……
return render_to_response(‘newproject.html‘, locals(),context_instance=RequestContext(request))
<form id="formid" method="POST" action="http://127.0.0.1:8000/insert/" >
{% csrf_token %}
……
</form>
Django1.8:403错误:CSRF verification failed. Request aborted.
标签:
原文地址:http://www.cnblogs.com/meitian/p/4730882.html