python3xadmin版本bug,没有 widgets模块解
2020-03-10 本文已影响0人
python小能手
DjangoUeditor
是基于/Python2.7/的,对/Python3/的支持有问题
- 在/github/下载DjangoUeditor3并安装
- 也可以在码云仓库搜索/DjangoUeditor3/
- 如果之前安装过,那么就要卸载
pip uninstall DjangoUeditor
否则报错:
from widgets import UEditorWidget,AdminUEditorWidget
ImportError: No module named ‘widgets’