Hi,

I've been reading the documentation about order_by(). They say, amont
others, that:
"""
To order by a field in a different table, add the other table's name
and a dot, like so:
Entry.objects.order_by('blogs_blog.name', 'headline')
"""

Unfortunately, I do not quite get the example, and I've not been able
to make the concept work with one of my django applications.

Could someone please extend a bit the notion, or point me to some example?

Thanks a lot,

G

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to