I'm pretty new to django and so far so good except for one thing. When I
fetch model objects, their related objects are showing up as RelatedManager
and ManyRelatedManager objects intead of the types I created and modified in
my model. Consequently if I try to iterate over them or access their data
attributes, I get an exception.

I've seached the web and haven't found any doc on the Django ORM innards so
I'm not clear on how it's supposed to work. I've dived into the code a bit
but it looks like it's going to take a while to understand what's going on.

Any ideas on why the related objects aren't the expected target types that
I've declared in my model?

Thanks

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to