Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

上传图片报403错误 CSRF验证失败 #70

Open
Yongzhang32532 opened this issue Apr 16, 2016 · 0 comments
Open

上传图片报403错误 CSRF验证失败 #70

Yongzhang32532 opened this issue Apr 16, 2016 · 0 comments

Comments

@Yongzhang32532
Copy link

上传图片报403错误 CSRF验证失败
显示服务器图片列给正常,就是上传时提示CSRF验证失改,貌似上传的POST里没有CSRF的值。 html form里已经加入 {% csrf_token %}
view.py里加入@csrf_exempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant