http://ojdbc.com/djangoueditor-importerror-no-module-named-widgets/
最近在学习Django框架,按照网上教程集成DjangoUeditor时,出现错误,错误提示为:
from widgets import UEditorWidget,AdminUEditorWidget
ImportError: No module named ‘widgets’
经查发现,DjangoUeditor是基于Python 2.7的,对Python3的支持有问题。导致widgets.py文件出错,不能import。解决方法为修改widgets.py或者采用网上修改好的版本DjangoUeditor3