Side stepping the pie fight here (although a language, simple or not, that includes 'conditional' logic that doesn't apply under certain conditions because it is "easier" begs an awful lot of questions), I simply wonder if there is a way to solve my problem without resulting to writing a set of template tags to do it.
On Feb 23, 12:54 pm, Shawn Milochik <sh...@milochik.com> wrote: > Okay. If your point is that you understand the way it's meant to work and you > don't agree with it, then the answer to your question is that you can't do it > that way in Django's templating system. > > I don't know why the Django developers made that decision, but I'd bet it > makes template validation a lot easier on them. That's a good thing, > especially because the template system is meant to be about as simple as > possible. I agree with the general philosophy that as much logic as possible > should be kept out of templates. It also makes it a lot easier on > non-programming users who develop the templates for their developer > counterparts in an organization that separates those duties. > > If you don't want to use Django's templating system, you're free to replace > it. Some people prefer jinja2, which is a lot more > powerful:http://jinja.pocoo.org/2/ > > Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.