django admin 处理文本换行空格

使用 linebreaks filter

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

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