Hi,

I have a site with users and an additional user_profile to store extra
information like a signature, avatar, etc.

I cannot figure out how to use a single query to get a list of users
and at the same time join in their user_profile information.

Currently I have this:

users = User.objects.all().order_by('id')[offset:limit]

But I can't figure out how to get their profiles joined to that query.
Any ideas?

thanks!


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to