So is there a way to access/index lists within the template?

On Fri, Sep 3, 2010 at 12:14 PM, Javier Guerra Giraldez
<[email protected]> wrote:
> On Fri, Sep 3, 2010 at 11:10 AM, Bradley Hintze
> <[email protected]> wrote:
>> -In my template I put {{ param1.0 }}, expecting to see the first list
>> in the list of lists.
>> Result: nothing was printed to the page.
>
> that zero becomes a string '0', not a numeric 0.  IOW, it's not
> param[0], it's (among other things) param['0'], clearly not what you
> want.
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" 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-users?hl=en.
>
>



-- 
Bradley J. Hintze
Graduate Student
Duke University
School of Medicine
801-712-8799

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to