Weblog

More docs: Customizing the template language

An oft-heard request in the Django community is: "How can I write custom template tags?" Now, finally, there's an answer.

I've added a document called The Django template language: For Python programmers. It gets into the Python nitty-gritty of the template system, as opposed to the other template doc, The Django template language: For template authors, which focuses on template use from a (X)HTML hacker's perspective.

The new doc explains how to write custom template filters and template tags. It also goes over the basics of how you should use the template system in your code, so it's a must-read for every Django developer.

Posted by Adrian Holovaty on September 5, 2005