I have a Flask application that calls flask.render_template without any problems when it is called from the http request flask.
I need the same method to work outside the jar (from the end program in python)
resolved_template = render_template(template_relative_path, **kwargs)
I could use jinja2 api , but I would like the same method to work in both contexts (checkbox and command line)
python flask jinja2
Max L.
source share