On 19 Paź, 17:52, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Oct 19, 4:17 pm, Tomasz Zieliński > > > It's not clear what you mean by 'all latest ObjectRevisions'. Do you > mean all ObjectRevisions for a particular object? If so: > myobject.objectrevision_set.all()
I was unclear, but SQL should explain what I want to do - select all ObjectRevision-s that are latest in Object-s that they belong to. Moreover, I want to do this in with one ORM query, without resorting to SQL or splitting the query too much. -- Tomasz Zielinski http://pyconsultant.eu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---