with something like this:
my_query = PPDD.objects.select_related('dd__ee').filter(user=2)
can works,but i need do a distinct clause over the rows of "ee" , How
can I do that?
DD.objects.select_related('dd__ee').filter(user=2).distinct() don't
works, because this query pick all the columns,if i can get only the
columns of EE , the distinct clause can works, but I don't know how i
can a do this.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.