Question

I'm trying to decide what template engine to use. We have decided to use Mako for the product but I don't know if it's a fit for my current project.

It seems like Jinja2 can run sandboxed to prevent the user from running python code like users.delete. Is there something similar in Mako?

In Jinja2 there is the loaders (doc). Is there something like it in Mako? I need it to be possible to load from database and not filesystem.

If there are other engine faster and with the above functionality included I'm all ears.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top