django admin 处理文本换行空格

使用 linebreaks filter

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

原文地址:https://www.cnblogs.com/jjj-fly/p/7131740.html