jajaja i know
that what just a stupid example to make my point...
i plan to make more complex custom tags

On Apr 30, 12:11 pm, Lakshman Prasad <scorpion...@gmail.com> wrote:
> Why cant you just do something like
>
> {% sayHello " Hello Robert and " %} {{ currentname }}
>
> 2009/4/30 Julián C. Pérez <jcp...@gmail.com>
>
>
>
>
>
> > hi u all... again
> > this has become my first resource on getting help
> > a new doubt i have...
> > in templates...
> > i have a variable, let's say varOne -suposse it's equal to "Kathleen"
> > ... {{ currentName }} ...
> > and i have created a custom tag which takes an argument, called
> > sayHello
> > ... {% sayHello "Robert and Mary" %} ... > this would output 'Hello
> > Robert and Mary'
> > but if i do something like:
> > ... {% sayHello "Robert and {{ currentName }}" %} ... > this would
> > output 'Hello Robert and {{ currentName }}'
> > needless to say i want some output like 'Hello Robert and Kathleen'
>
> > how can i get this to work??
> > thank u all!
>
> --
> Regards,
> Lakshman
> becomingguru.com
> lakshmanprasad.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-users@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