make_safe

from django.utils.safestring import mark_safe
mark_safe('<input type="checkbox" id="head-check">')

作用:在后端转换标签语言

原文地址:https://www.cnblogs.com/wt7018/p/11431710.html