搜索:ckeditor
找到合适的版本按操作指示进行安装和配置
完成以后在内容中加入图片 在网页中会被转义 所以我们需要在templates/html取消转义
{% autoescape off %}
{{ n.content }}
{% end autoescape %}
使用 {% autoescape off %}
以及{% endautoescape %}
取消转义
注:不需要重新生成迁移文件和迁移
搜索:ckeditor
找到合适的版本按操作指示进行安装和配置
完成以后在内容中加入图片 在网页中会被转义 所以我们需要在templates/html取消转义
{% autoescape off %}
{{ n.content }}
{% end autoescape %}
使用 {% autoescape off %}
以及{% endautoescape %}
取消转义
注:不需要重新生成迁移文件和迁移