How to import and call a Python function in a Jinja template?

Viewed 7704

I want to use a function from a python module, in my Jinja template inside a Flask application. How do I import the module or pass the function to the template so that I can use it?

1 Answers
Related