I like mako and wish it was easier to integrate with the flask. I install the flask-mako extension , but quickly found that instead of a very nice flugg debugger , creating an easily understandable trace, as it was with jinja, I get an almost useless version with small descriptions and inaccurate line numbers (I would provide some convincing evidence, but I already deleted them).
This thread describes a way to configure mako with better exception handling, which I suppose was my problem, but from what I can say, it seems I need to run try / except for each of my url functions?
There is no way to turn this exception handling "always on", so will the debug flask be used without extra effort?
Several places mention how easy it is to swap jinja / mako in a flask, but I find that it is not. Hope I missed something ...
source share