- 博客(2)
- 资源 (2)
- 收藏
- 关注
原创 django-ckeditor 使用
安装pip install django-ckeditor 注册应用 ‘ckeditor’ INSTALLED_APPS = [ ... 'ckeditor', ] 配置model的字段: 替换原来的TextField字段为RichTextFiled from ckeditor.fields import RichTextField class News(BaseModel): """ 文章模型 """ content...
2021-08-28 11:01:08
206
原创 django-cms安装后发布文章出现treebeard.exceptions.NodeAlreadySaved: Attempted to add a tree node 错误
django-cms安装后,创建文章,发布时出现“treebeard.exceptions.NodeAlreadySaved: Attempted to add a tree node that is already in the database[24/Aug/2021 11:23:49] "POST /zh/admin/cms/page/3/zh/publish/ HTTP/1.1" 500 128824”错误,开始以为时版本问题,重新安装几次都没有解决,后来发现是django-treebeard版本.
2021-08-24 11:34:53
199
ANSYS电磁场分析指南
2011-06-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅