Django如何把数据库里的html格式输出到前端

只需在HTML页面中加入{% autoescape off %}即可!

{% autoescape off %}

需要显示的数据

(% endautoescap %}

posted @ 2017-12-05 23:26  郝文  阅读(2196)  评论(0编辑  收藏  举报