Hey!

So we have a certain model which is related with many other models, by
ForeignKey fields set in those other models.

The setup is not particularly exotic, but for some reason, when
using ._meta.get_all_related_objects() on the model which has all the
ForeignKey fields pointing at it, some of the related objects that
should be returned are missing.

As a quick example, imagine that the Foo model is related to Bar1,
Bar2, Bar3,...,BarN, by ForeignKey fields defined in the Bar models.
For some reason, the get_all_related_objects method on Foo._meta is
not returning some of the objects of Bar1 and Bar3.

Do you have any ideas on what might be happening, or how to further
debug the problem?

Best and thanks!
Martin

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to