On Jul 25, 2012, at 3:11 PM, fnando <fer.nand...@gmail.com> wrote:

> Hello, beginner here. I'm getting an error at the IF statement, line 2 of 
> this snippet:


Could it be that you're using object as the loop variable, and object is also 
the global var? I might change it to:

for item in object.list

And use {{ item }}, for example, in place of your "object" var inside the for 
loop. 

-- 
Sent from my Macbook Wheel

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to