On Thu, May 27, 2010 at 7:36 AM, Tom Evans <[email protected]> wrote: > Most PHP templating languages allow you to do things that are by > design not in django's templating, for example in Smarty, one can > assign new variables on the fly in the template, and even do crazy > stuff like call functions that take arguments.
This isn't impossible; you can write custom template tags that can pretty much do anything (e.g., assign variables). Whether I'd *recommend* you do so is another matter; the abuse potential is high. :-) -- 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.
