Post archive

Making Template Tag Parsing Easier

2009 November 03

In my previous post about template tags, I discussed the two steps required for template tags. Today I will be focusing on Parsing of template tags, and how they may be improved in the framework of Class Based Template Tags from yesterday ...

Class Based Template Tags

2009 November 03

The problem

In Django, template tags currently are separated between a Node class and a "parsing function". The parsing function takes the tag, represented as a string, parses the input, and passes the correct arguments to a Node class. The Node class then does whatever rendering it does, or updating ...

Gentlemans agreement on Django templates

2008 November 20

There are a lot of reusable apps out in the Django Ecosystem. I wrote a previous post about why I think that reusable apps should come with templates. There is a problem about distributing templates that I want to address with this ...

Should reusable apps have templates?

2008 November 14

There is a debate among the Django community about whether people should include templates in their reusable apps.

The arguments for including them are generally that it is nice to simply install the app and have things just work. This is a really nice feature to not have to dig ...