I have this template in Mako templating system: I want to modify template to have simply one line conditional. Something like this (in jinja syntax ...
I have this template in Mako templating system: I want to modify template to have simply one line conditional. Something like this (in jinja syntax ...
I am trying to use <%include /> tag in mako template, but getting exception. I have all the files in the same directory. Can someone help me fig ...
I'm sending mails when performing some actions, and some of them contain an HTML table. I wanted to color 1 line out of 2 in the table and for that I' ...
so I have this (very stupid for most people I'd assume) question: I'm trying to modify a small template I found online and at one point they give the ...
I am quite proficient with Mako, but never actually used Jinja or Django templates. What is Jinja/Django equivalent of Mako <%def name="..."> d ...
I have a line chart with daily data and I want the nulls to be connected only in the case that the nulls span a day or two, not if there's a gap of we ...
I have a bigger testcase which uses Pyramid and Mako and also Javascript. It works fine unless I put the Javascript code into a separate file. Then i ...
I want to pass an array of strings to Mako's render method but this doesn't work: some.template = ...
Ran into this today; posting for future generations If you're rendering a mako template which defines a in it, and you're getting an empty string ...
I am using the mako template library to generate a test.txt file, but the generated file contains additional empty lines in between each row. I have ...
How can I open an image (with an url which is a mako variable) in a new window inside a mako template? I would like the simplest thing possible. This ...
I want to use the mako template in django2, but when I set up the render function of mako and tried to set the template to bring the csrf token, I fou ...
I am new to FE web, I am trying to show a datatable that constructs from a dictionary with lists inside. mt backend is python bottle. This is my ma ...
I'm using Mako for my static files templating. After each editing and saving, I have to re-start my web application in order to see the effects. Can I ...
Hello there thanks for helping me, I have some file.mako.md file and I am changing this file as shown below but it shows me 404 error which is due to ...
Why return is not a list or int, what do I want to get can i use ?,But I was disappointed ...
I'm generating a C source file from a Mako template. Mako templates have directives similar to C preprocessor directives, except that they start with ...
I'm currently stuck on this issue and I can't seem to figure it out... I've created a small webapp using CherryPy and I've used Mako for the html temp ...
I have a Mako template with some blocks in it like this: When I render this template I get something with a lot of extra blank lines: I want the ...
it seems so simple yet I can't seem to check if the inner loop is at the 7th iteration I've tried slight variations and wrapping the index in a var ...