python - Best way to use Jinja2 template in Javascript? -


i'm trying ajaxify functionality of page uses jinja2 , flask. problem want entire jinja2 template rendered javascript but, isn't possible of available libraries don't support features of jinja2. what's best way solve issue?

there seems https://github.com/syrusakbary/jsjinja library now:

jsjinja lets use jinja2 templates in javascript. compile jinja2 templates javascript no restrictions.

not tried though.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -