Why was it not possible for me to use simple functions like int() and type() in my {{ }} in jinja? It was throwing errors like “jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag ‘int’.” I ended up having to manipulate the variable in the main.py but I’d like to know if I am missing something.
I tried importing the functions through my render_template