5 ms·
I must have been mistaken for static files, for templates however it is the case: https://github.com/defnull/bottle/blob/master/bottle.py#L2635 https://github.
by DasIch 15y ago
I must have been mistaken for static files, for templates however it is the case:
https://github.com/defnull/bottle/blob/master/bottle.py#L2635 https://github.com/defnull/bottle/blob/master/bottle.py#L263...
You can override it but you would have to do that for every call to `template` or by monkey patching `TEMPLATE_PATH`.
- oinksoft 15y agoIn the big picture, I don't see having to write a wrapper function for template rendering with a fixed template_lookup argument being a big deal (I'm basing all of my judgments on source alone, I've only fiddled with either framework).
- DasIch 15y agoIt's still a problem for modularity, something like Flask's blueprints are basically impossible for Bottle.