render_template outside of blueprint
- 2013-04-09 @ 13:40
I would like to use render_template and all corresponding jinja filters
outsite a blueprint / route-function.
A minimal example would be:
The exception flask throws is the following:
AttributeError: 'NoneType' object has no attribute 'app'
I understand that the context is missing, but is there a workaround or
just something I'm missing?
Thanks for your help in advance. :-)