My program has a Jinja2 template loaded from a file.
t = env.get_template(filename)
Is it possible to get the template source (I mean the unrendered text, i.e. the contents of the file) from the t object?
My program has a Jinja2 template loaded from a file.
t = env.get_template(filename)
Is it possible to get the template source (I mean the unrendered text, i.e. the contents of the file) from the t object?