On Thu, May 27, 2010 at 12:20 PM, Luke Plant <[email protected]> wrote: > On Thursday 27 May 2010 03:21:43 Charlie Nolan wrote: > >> I'm all for streamlining the template system, because I think it's >> one of the less-intuitive aspects of Django at the moment (I think >> PHP has us beat, and that's really sad) > > Care to elaborate? From my perspective Django's templates wipe the > floor with PHP in so many ways (blocks/inheritance, auto-escaping, > variable syntax, tag syntax, filters, all of the very useful builtin > tags like cycle etc. etc.) that I can't even imagine how you could > come to that conclusion. > > Luke >
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. Whether that is 'better' or not is a point of view - as you've a commit bit, and patches for this sort of stuff in django are rejected, I'd guess you are of the view that it is not ;) Cheers Tom -- 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.
