I am learning Django and came across 2 sets of special characters that I haven\'t seen used like this before. I can guess what they are used for in the examples, but don\'t unde
They are used in .html files aka templates. They are not python, they are part of the Django's template engine.
.html
You use {% %} for sentences such as: if and for, or to call tags such as: load, static, etc.
{% %}
if
for
load
static
And you use {{ }} to render variables in your template.
{{ }}