django 数据库html显示
template
{% autoescape off %} {% for each in obj %} <h2>{{ each.food }}</h2> <br/> {{ each.tip }}<br/> {{ each.description }}<br/> {{ each.step }}<br/> {% endfor %} {% endautoescape %}
template
{% autoescape off %} {% for each in obj %} <h2>{{ each.food }}</h2> <br/> {{ each.tip }}<br/> {{ each.description }}<br/> {{ each.step }}<br/> {% endfor %} {% endautoescape %}