Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Django 1.2 has more sane if tags. No more need to use ifequal


I just find it strange that it took the Django project so long to finally realize this. Django 1.2 was released in May 2010 -- we shouldn't be "innovating" on something as basic as an "if" statement on a 15 year old language.

The unfortunate part is that many systems still use Django 0.9 and when one writes code there, you have to remember to use "ifnotequal" and "ifequal" as two different distinct keywords in their templating language. For example, if you were on google app engine and wanted to use their included django templating library, you'd be stuck with that horrible stuff.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: