当前位置:Gxlcms > 数据库问题 > django 数据库html显示

django 数据库html显示

时间:2021-07-01 10:21:17 帮助过:21人阅读

template

 

{% autoescape off %}
{% for each in obj %}
    <h2>{{ each.food }}</h2> <br/>
    {{ each.tip }}<br/>
    {{ each.description }}<br/>
    {{ each.step }}<br/>
{% endfor %}
{% endautoescape %}

  

django 数据库html显示

标签:cape   rip   div   end   esc   off   step   tip   template   

人气教程排行