There's your error. The value of model_or_iterable is not iterable.
Perhaps it's a model (based on your naming convention).

Try logging the value of model_or_iterable right before that line to
see what it contains. Once you've done that, figure out why it
contains that instead of something that's iterable.

Once you've done that, figure out whether it should never contain that
value or whether the value is correct but you should be treating it
differently (do something other than trying to put it in a 'for'
loop).

Shawn

-- 
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