from django.utils.safestring import mark_safe
mark_safe('<input type="checkbox" id="head-check">')
作用:在后端转换标签语言
from django.utils.safestring import mark_safe
mark_safe('<input type="checkbox" id="head-check">')
作用:在后端转换标签语言
转载于:https://www.cnblogs.com/wt7018/p/11431710.html