python3 ueditor 继承后没有显示课程详情富文本

来源:13-7 xadmin集成富文本ueditor2

SimonWvW

2018-11-30

1.直接copy的老师的django2.0 extra_apps 中的djangouditor
2.课程详情中没有显示文本框
3js = '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.config.js") #自己的静态目录 js += '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.all.min.js") #自己的静态目录
这个是要把extra_apps/DjangoUeditor/static/Ueditor 放到 /static 下吗?

写回答

1回答

bobby

2018-11-30

这里三步骤不能少 

  1. 是否导入了djangoueditor 源码放入到extra_apps

  2. 是否将ueditor的plugin放入到xadmin并在plugins中配置了这个插件

  3. 是否在adminx文件中配置了具体某个字段的ueditor样式?

    https://git.imooc.com/coding-78/coding-78/src/py3.6_django2.0/MxOnlie/extra_apps 这里有源码 记得分支选择正确!, 拷贝对应的代码到你的代码中试试, 这里的xadmin我已经集成了plugins这个不用你配置了

0
3
bobby
回复
SimonWvW
你加我qq 442421039 我看看
2018-12-02
共3条回复

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4041 问题

查看课程