Hallöchen!

George Sakkis writes:

> [...]
>
> To be honest, I never *had to* do it (in the strict sense) either
> but apparently others did ([1-4]). As for the "just put it in the
> view" argument, remember that until last month this was the
> response for people wanting "if" to be a bit smarter :)

People will want to do *everything* in the template.  The lowest
rated snippet on djangosnippets currently is an {% exec %} tag.  :-)

Therefore, it's important to enforce some discipline, so that the
templates don't become sort of PHP.  I use "break" and "continue" a
lot, but I've never thought about it in templates.  You can easily
prepare the list in the Python land.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bron...@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to