Задать вопрос

Тел: +7 965 3737 888

390

Просмотров

0

Ответов

CatchTag - Catching the content and saving it to a variable

<p>You can use this tag to "catch" some template snippets and save it into a context variable, then use this variable later.
</p>
<p>How to use it 
</p>
{% catch as var1 %}any tags and html content{% endcatch %}
...
{{ var1 }}

Вопрос полезен? Да0/Нет0
file_3690.py(1.0Кб)
None