I use nunjucks for templating the frontend in a python project. Nunjucks templates must be precompiled in production. I don\'t use extensions or asynchronous filt
I think that the link here encapsulates what you are trying to achieve.