Koen Bok
Koen Bok

Reputation: 3284

Django template implementation in javascript?

Does anyone know about an extensible django template implementation in javascript. I don't need all the advanced features, but loops, tags and filters would be nice.

I found a few projects/hacks just implementing the variable style but that's not enough for us.

The one that came closest is: http://code.google.com/p/jtl-javascript-template/ but it's not very well written/complete/maintained.

Upvotes: 4

Views: 290

Answers (2)

abraham
abraham

Reputation: 47833

Another option is to use mustache.js and pystache. It would require some changes as the feature set isn't as powerful as Django templates but it does provide fair amount of freedom.

Upvotes: 1

Related Questions