librelist archives

« back to archive

generate_template ?

generate_template ?

From:
Rob Mela
Date:
2010-12-09 @ 14:51
I looked in flask/template.py and found render_template and 
render_template_string methods.  I did not find anything corresponding to 
Jinja2's generate_template.

I can adapt template.render_template and template._render to suit my needs. 

But it might be a nice rounding out of the library to expose 
generate_template and generate_template_string.    I would have to dig 
into Jinja2 to see what Flask could use to determine that rendering is 
complete, so that it could issue the template_rendered signal.