On 3/9/08, Gary Wilson Jr. <[EMAIL PROTECTED]> wrote:
>
>
> In many instances, there are ways to move the complexity out of the
> templates
> and into the code. This is a big reason why the template language is so
> limiting, as it forces you to put the complexity in the code where it
> should
> b
On 3/4/08, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
>
> It's also the thin edge of the wedge in some sense: Django's templating
> language is intentionally super-simple. Presentation stuff only in
> tempates, all selection/business logic in the views. So by the time your
> context gets to
On 3/4/08, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
>
> On 3/4/08, Lauri Ahonen <[EMAIL PROTECTED]> wrote:
> > Exactly. This seemed like such a basic concept (select from array based
> on
> > variable value) that I was sure that it's hidden in djang
On 3/4/08, Collin Grady <[EMAIL PROTECTED]> wrote:
>
>
> Luke Plant said the following:
>
> >> It is already in core. See:
> >> http://www.djangoproject.com/documentation/templates/#variables
>
>
> >No, it isn't - {{ foo.bar }} is the same as foo['bar'] not foo[bar], so
> it won't
> >do what they'