On Thu, 2009-04-02 at 18:29 -0700, Dave Fowler wrote:
[...]
> Profile.objects.all().select_related()
> 
> But it seems weird to base everything around the object that isn't
> used for authentication.  Is that what most people do?

"Seems weird" isn't a particularly strong technical reason (and is also
open to debate, since it's just a normal portion of the user
representation) . If you want to cut down your queries, that's the way
to go.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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