⚠️异常

python3xadmin版本bug,没有 widgets模块解

2020-03-10  本文已影响0人  python小能手

DjangoUeditor是基于/Python2.7/的,对/Python3/的支持有问题

  1. 在/github/下载DjangoUeditor3并安装
  2. 也可以在码云仓库搜索/DjangoUeditor3/
  3. 如果之前安装过,那么就要卸载pip uninstall DjangoUeditor

否则报错:

from widgets import UEditorWidget,AdminUEditorWidget
ImportError: No module named ‘widgets’
上一篇 下一篇

猜你喜欢

热点阅读