Django template implementation in javascript?

Does anyone know about an extensible implementation of a django template in javascript. I do not need all the advanced features, but loops, tags and filters will be nice.

I found several projects / hacks that simply implement the variable style, but this is not enough for us.

Closest: http://code.google.com/p/jtl-javascript-template/ , but it's not very well written / fully / supported.

+4
source share
2 answers

Another option is to use mustache.js and pystache . This will require some changes as the feature set is not as powerful as the Django templates, but it provides a fair amount of freedom .

+1
source

Source: https://habr.com/ru/post/1346725/


All Articles