问题已经解决。 是因为django在转换<>这2个符号的时候自动转换了。 只要调用 {% autoescape off %} {% endautoescape%} 就能解决这个问题。
意思是不是自动更新进去了?