django怎么读python_初识Django

模板特殊标记

{{name}}

{{users.0}}

{{users.1}}

{{user_dict.k2}}

{{user_dict.k1}}

循环

{% for item in user_dict %}

{{ item }}

{% endfor %}{% for row in user_name%}

{{ row.id }}

{{ row.name }}

{{ row.gender }}

编辑|删除

{% endfor %}

你可能感兴趣的:(django怎么读python)