I am trying to save the HTML with Jinja output into an Sqlite model.
I want the rendered output (without curly braces {} or %% signs) to be saved into the model.
I have no idea on how to format it.
Tried the render_to_string function but it does not seem an appropriate solution.
Thank you.
New contributor
Andrei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.