阅读背景:

Django:麻烦uploadind和处理图像(CSRF令牌丢失或不正确)

来源:互联网 

I'm just trying to practice with Django. I tried to make a simple app which allows you to upload an image and return the pixelated version of it. I have two views: one to show the form and one to handle the image and return the result. The problem is that a 'Forbidden (403)' is raised instead of the result. Reason given for failure: CSRF token missing or incorrect.I'm just trying to practice with Django. I trie




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: