4

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.

2 Answers 2

1

Check this : http://icanhazjs.com/

And here how it can work with django : http://tothinkornottothink.com/post/4282971041/using-jquery-templating-icanhaz-js-with-django

Sign up to request clarification or add additional context in comments.

Comments

1

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.