django admin 处理文本换行空格

使用 linebreaks filter

<p>{{ blogpassage.content|linebreaksbr }}<p>

posted @ 2017-07-07 13:30  金牛小子  阅读(1145)  评论(0编辑  收藏  举报