Django中使用富文本编辑器:Ueditor 详解
1.安装Ueditor包
pip install DjangoUeditor2.配置settings.py
加入app
INSTALLED_APPS = [django.contrib.admin,...DjangoUeditor,
]配置富文本编辑器的文件存放路径
MEDIA_URL =/media/
MEDIA_ROOT = os.path.join(BASE_DIR, media)3.配置URL
from django.conf.urls.st…
2026/7/28 19:16:39