Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez

Paste

Pasted as HTML by iShming ( 11 years ago )
{# Here is the macro which I would import from another file preferably #}
{% macro my_macro(car) %}
{{ make_url(car) }}
{% endmacro %}

{# Here is the call to the macro. #}
{% set car="hello" %}
{{ my_macro(car) }}

{# Will this work in jinja2? #}

 

Revise this Paste

Parent: 50705
Your Name: Code Language: