Re: usage of conditional blocks

2010-02-23 Thread joep
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 tem

Re: usage of conditional blocks

2010-02-23 Thread Shawn Milochik
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 validatio

Re: usage of conditional blocks

2010-02-23 Thread joep
Sorry, meant to post this in the developer area. On Feb 23, 12:46 pm, joep wrote: > This is in regard to this ticket,http://code.djangoproject.com/ticket/10975, > which states, in response to the user's complaint, that 'A block > cannot be defined conditionally within any sort of "if" construct,