Hallöchen!

George Sakkis writes:

> On Jul 5, 2:25 pm, Torsten Bronger <bron...@physik.rwth-aachen.de>
> wrote:
>
>> [...]
>>
>> People will want to do *everything* in the template.  The lowest
>> rated snippet on djangosnippets currently is an {% exec %}
>> tag.  :-)
>
> But then again there is a {% switch %} tag [1] that has 8/8
> positive votes, let alone the "smart" {% if %} tag that is at last
> part of Django now.

The question is whether non-programmers can handle it.  In this
context, a smart if was a good thing to do because it just made a
necessary control structure more intuitive.  But the other things
are simply bringing full-blown programming into templates.  Besides,
it is *very* easy to migrate them into the Python code.

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