macro hides all other variables?
does macro hide all other variables passed from views?
does macro hide all other variables passed from views?
Yes, Jinja2 macros have only access to variables passed explicitly, or via other special channels that Jinja2 templating uses.
This may be circumvented by creating custom template filter functions as inside functions it is possible to do more.
To enter a block of code:
Comments