News for hackers. Stuff that matters.
Re:Django 1.2 alpha 1 released by jsdalton on Wednesday January 06, 2010 @09:24AM (#1034732)
The smart "if" template tag (http://docs.djangoproject.com/en/dev/releases/1.2-alpha-1/#s...) was quite the welcome surprise for me in the release notes! I swear I've written a dozen custom template tags all because it wasn't possible to perform simple comparisons in the if condition.
Re:Django 1.2 alpha 1 released by jules on Wednesday January 06, 2010 @11:21AM (#1034959)
What would be really smart is if they just allowed Python code there.
Re:Django 1.2 alpha 1 released by jacobian on Wednesday January 06, 2010 @11:53AM (#1035042)
That's just not what we're trying to do with Django's template language.

However, if you'd like a template language that's closer to pure Python, I'd suggest giving Cheetah (http://cheetahtemplate.org/) a try. I've used it in the past; quite nice.

Re:Django 1.2 alpha 1 released by bhiggins on Wednesday January 06, 2010 @08:28PM (#1036248)
also check out Jinja2 (http://jinja.pocoo.org/2/)
Re:Django 1.2 alpha 1 released by ubernostrum on Wednesday January 06, 2010 @04:21PM (#1035796)
It is now trivially easy to plug in whatever template language you like, and still have all the usual Django shortcuts work with it:

http://docs.djangoproject.com/en/dev/ref/templates/api/#usin...

Re:Django 1.2 alpha 1 released by jonknee on Wednesday January 06, 2010 @11:39AM (#1035005)
Excellent news. readonly_fields and the new messages framework will be quite handy. Not to mention improved {% if %}. Solid work.
Re:Django 1.2 alpha 1 released by admanrs on Wednesday January 06, 2010 @02:39PM (#1035538)
multiple database connections is going to be my favorite new feature: http://docs.djangoproject.com/en/dev/topics/db/multi-db/