Common template syntax
Only need to remember two special symbols:
{{ }}with{% %}
Variable associated with {{}}, {logic associated with %%}.
for example:
{% for person in person_list %} <p>{{ person.name }}</p> {% endfor %}
Common template syntax
Only need to remember two special symbols:
{{ }}with{% %}
Variable associated with {{}}, {logic associated with %%}.
for example:
{% for person in person_list %} <p>{{ person.name }}</p> {% endfor %}