I wanted to write one all purpose generic template..

Now I have split that and extended multiple specific templates.. :(

Thanks,
~ramyak/


On Oct 23, 6:34 pm, Jeff FW <[EMAIL PROTECTED]> wrote:
> To my knowledge, no, it's not possible to do that.  Even if it was,
> however, I would strongly argue against it, as it would make your
> templates unreadable--how would you know what filter/tag would be
> called without mucking through the rest of your code? Maybe there's a
> better way to get the effect you want--what are you trying to achieve?
>
> -Jeff
>
> On Oct 23, 6:59 am, ramya <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to have variable tags / filters
>
> > {{ my_value | my_filter }}
> > where c['my_filter'] = 'formatDateTime'
> > formatDateTime is the actual filter function defined in templatetags
>
> > similarly
>
> > {{ my_tag my_filter }}
> > where c['my_tag'] = 'formatDateTime'
> > formatDateTime is the actual tag function defined in templatetags
>
> > say in both the cases  formatDateTime is registered tag/filter and has
> > been loaded
>
> > Regards,
> > ~ramyak/
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to