in it, and you're getti" /> in it, and you're getti" /> in it, and you're getti"/>

Python Mako Template empty output

132 Views Asked by At

Ran into this today; posting for future generations

If you're rendering a mako template which defines a

<%block name="body" />

in it, and you're getting an empty string as output

1

There are 1 best solutions below

0
Warren Spencer On

Odds are it's because your block is conflicting with mako's internal variables. Try renaming it to something else and rendering it again