make_safe from django.utils.safestring import mark_safe mark_safe('<input type="checkbox" id="head-check">') 作用:在后端转换标签语言