On Tue, Feb 7, 2012 at 2:26 PM, Victor Buldakov
<[email protected]> wrote:
>  In my project I would like to develop the support of block with use
> of the python code.
>  In my opinion, it would make Django templates more flexible and
> power.

from the "Philosophy" section of the template docs:

"Django template system is not simply Python embedded into HTML. This
is by design: the template system is meant to express presentation,
not program logic."


in other words, the Django designers considered about embedding Python
and decided against it.


-- 
Javier

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

Reply via email to