Re: Template Engine Compilation and Runtime Refactoring Progress

2011-06-19 Thread Anatoly Vostryakov
Hi!

> The compiler is able to handle this case, but the syntax of the Django
> templating language does not.  I will not change any features in the
> Django template engine during this proposal and actually reused most
> of the parser toolchain until fall.  If someone wants to step up and
> continue improving the features on the language after GSOC I am happy
> to assist.

  Ok. Thanks for answer. I'll think to add support of parameters to
functions in django template engine after GSOC. From my point of view
it is
backward compatible feature. All old django templates will continue to
work.

Regards,
Anatoly

On Jun 18, 7:52 pm, Armin Ronacher <armin.ronac...@active-4.com>
wrote:
> Hi,
>
> On Jun 17, 2:18 pm, Anatoly Vostryakov <a.vostrja...@gmail.com> wrote:>   
> I've thought today. May be it will possible to add support of
> > parameters for functions or object methods in django templates.
> > I mean, something like this in django template:
>
> The compiler is able to handle this case, but the syntax of the Django
> templating language does not.  I will not change any features in the
> Django template engine during this proposal and actually reused most
> of the parser toolchain until fall.  If someone wants to step up and
> continue improving the features on the language after GSOC I am happy
> to assist.
>
> Regards,
> Armin

-- 
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.



Re: Template Engine Compilation and Runtime Refactoring Progress

2011-06-17 Thread Anatoly Vostryakov
Hi, Armin!

  I've thought today. May be it will possible to add support of
parameters for functions or object methods in django templates.
I mean, something like this in django template:

{{  obj.method(parameter1, parameter2) }}

  How I remember it is possible in jinja2 someway and it is what I
missing in django templates. I wrote it to you because you're working
with django templates now and author of jinja2.

Regards,
Anatoly Vostryakov

On Jun 17, 4:07 am, Armin Ronacher <armin.ronac...@active-4.com>
wrote:
> Hi,
>
> I'm in between two conferences right now and university and a bunch of
> other stuff needs attention as well so progress is slowed down quite a
> bit right now.  Will however catch up next week with what I cannot do
> this one.
>
> Regards,
> Armin

-- 
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.