Hello,
Imagine this case:
Model A
——> Model B(many to many to A)
————-> Model C (many to many to B)
————-——->Model D (many to many to C)
To get a query set of objects D which are connected to an object like A.id=1 , we can do a query like this:
Select * from A natural join B natural join C natural join D
Such a query does not exist as long as I have researched, so I think Django ORM should be modified.
--
You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/cec2baa5-9c36-4151-80d0-eee555f1a977n%40googlegroups.com.