Entries for date 10/30/2005

Page created at
Aktuelle Einträge Oct. 30, 2005, 1:55 p.m.
This is not a weblog ...
Case/When/Otherwise for Django Oct. 30, 2005, 1:04 p.m.
If you have any evil plans for a switch statement for Django (hia rjwittams! ;-)), you might want to look into my TagLib. There is a case/when/otherwise statement in there. It's quite easy to use: {% case variable %} {% when "value1" %} {% endwhen %} {% when "value2" %} {% endwhen %} {% otherwise %} ...
Django, Programmierung, Python