DjangoUeditor 上传图片图片失败,csrf token missing or incorrect 的解决办法

错误原因:get_ueditor_controller() 方法没有csrf保护

解决办法:

在ueditor源码中的views.py文件中找到get_ueditor_controller函数,然后添加@csrf_exempt 装饰器

原文地址:https://www.cnblogs.com/lemonlemontree/p/7151705.html