Django 1.6和ckeditor上传图片

时间:2013-12-12 21:38:21

标签: python django ckeditor

安装Django 1.6.1超过1.5,更新Pillow,PIL,django-ckeditor和django-ckeditor-updated,从url中删除默认值。当我想上传图片时,我看到了:

ImportError at /ckeditor/upload/

No module named image

Request Method:     POST
Request URL:    mysiteaddress/ckeditor/upload/?CKEditor=id_about&CKEditorFuncNum=1&langCode=en
Django Version:     1.6.1
Exception Type:     ImportError
Exception Value:    

No module named image

Exception Location:     /usr/local/lib/python2.7/site-packages/ckeditor/image_processing.py in get_backend, line 10
Python Executable:  /usr/local/bin/uwsgi
Python Version:     2.7.5
有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

在尝试收集静态时,你不应该在同一个项目中更新django-ckeditor和django-ckeditor。请参阅安装说明。

https://github.com/shaunsephton/django-ckeditor#installation