📜  模板中多对多字段的django数据 - Python代码示例

📅  最后修改于: 2022-03-11 14:47:14.777000             🧑  作者: Mango

代码示例1
{% for place in places %}
    Name: {{ place.name }}
Area:
{% for area in place.area.all %}{{ area }}
{% endfor %} {% endfor %}