You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump: Still facing this issue with exactly the same setup as above. In my main macro, I can receive variables fine. The child macro behaves as if it doesn't exist. Even outputing raw text it doesn't write to the client browser.
Version:
github.com/flosch/pongo2/v6 v6.0.0
Background
I have a macro
main
which i want to use in my templates. To implement this macro, i rely on child macros -child
.What is the issue
main
does not work correctly when imported.How to reproduce ?
Create
macros.j2
with the contents above.Create
test1.j2
with the following contents:test1.j2
using the default options. We get the following output:Expected output:
Other details (may be useful)
When the macro is called from the same file such as below, we get the expected output:
The text was updated successfully, but these errors were encountered: