News for hackers. Stuff that matters.
Re:Django 1.3 released by jbox on Wednesday March 23, 2011 @02:53AM (#2358372)
It's been fun watching these features play out in libraries over the last year.

I particularly like the idea of TemplateResponse - the earliest implementation I saw was in simonw's:

https://github.com/simonw/django-openid/blob/master/django_o...

This approach makes template rendering much more flexible!

For example, it would be easy to swap out a template for a mobile one ... or to A/B test a template. Or choose the content type of the output (HTML, JSON etc.)

Re:Django 1.3 released by simonw on Wednesday March 23, 2011 @03:26AM (#2358442)
Yeah, I was really pleased to see that they've taken that concept and turned it in to a real, tested, documented feature.