> Now the only thing is that when I call p.choice_set.all() I don't get the 
representation 'The sky' or 'Just Hacking again' . I receive choice object 
itself. Is this normal?

It should be said that yes, that is normal. p.choice_set.all() is a list of 
Choice objects, not a list of strings attributes for each object.

You're right that it's not a very readable result, which is why the 
__unicode__ method exists to add a more user-friendly representation of 
that object for console/Django admin display. Still, don't lose sight of 
the fact that p.choice_set.all() is actually always returning a collection 
of Choice objects.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to