Hi Daniel,

On Thursday 21 August 2014 22:53:36 Daniel Pyrathon wrote:
> 
> On Wednesday, August 20, 2014 8:21:36 PM UTC+2, Shai Berger wrote:
> > makes me itch a little as well -- mostly, because each of the objects
> > returned by the property is not a related-object, but rather a manager of
> > related-objects.
> 
> the related_objects property should return objects of instance
> RelatedObject. What do you intend by manager of related objects?
> 

I think I confused data with metadata. If I understand correctly, a 
RelatedObject applied to a model instance yields a manager, the same way a 
field applied to a model instance yields a data item.

I must admit, the entire set of names of the *RelatedObjectDescriptor family 
of classes has always confused me quite a bit.

> > I was considering "related_managers", but that is sort-of mixing the
> > "what"
> > with the "how", and also thinking about the possible Array(FK) fields, I
> > prefer
> > "related_collections".
> 
> what about straight up "*relations"*?
> 
> get_fields(data, m2m, relations)
> 

I take Russell's advice on this: Let's first clear up the concepts, then worry 
about the names.

Thanks,
        Shai.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/201408220020.29145.shai%40platonix.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to