django添加富文本

1.安装django-ckeditor模块 pip install django-ckeditor 2.setting.py配置 2.setting.py配置 (1)安装app (2)配置路由 3.models.py 导入RichTextField模块 替换之前的text字段 4.再进行settings配置 5.收集静态 python manage.py collectstatic  将项目当中设
相关文章
相关标签/搜索