On 02/07/2012 02:36 PM, Javier Guerra Giraldez wrote:
> On Tue, Feb 7, 2012 at 2:26 PM, Victor Buldakov
> <v1ctor.bulda...@gmail.com> 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.
> 
> 
However, there are lot's of other cool things one might do to templates.
Maybe extensions to the syntax would be acceptable, or additional
template tags. (Please note: I'm not a core dev and don't influence such
decisions.)

I believe someone recently suggested incorporating less
(http://lesscss.org/) and bootstrap
(http://twitter.github.com/bootstrap) into Django, and this might be
something you're interested in. At any rate, this list is full of good
propositions.

Cheers,
Jonathan

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

Reply via email to