Django 403错误:CSRF verification failed. Request aborted.
先说明,我的django版本为1.4
解决方法,一共三步,在debug错误信息里面已经指出:
1.使用requestcontext
from django.template import RequestContext
…
…
return render_to_response('my_template.html',
翻译
2014-10-22 22:27:18 ·
740 阅读 ·
0 评论