문제

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.

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top