On Thu, 2008-02-14 at 03:50 -0800, Entropy Hacker wrote: > I made a patch for Django to add QuerySet.fields(*fields, > **related_fields) and make possible to load only some from master and > related models fields. It allows to tune various object list queries > when we need only limited subset of all fields, improve general > performance and decrease database load. As side effect of this patch > support of selecting fields from related models in QuerySet.values() > is implemented too. It was changed signature of this method from > values(*fields) to values(*fields, **related_fields) but the change is > backward compatible.
Please don't post to both django-users and django-developers (and Trac x 2). We notice when patches are put on tickets. Otherwise it gets very noisy for those of us monitoring all the sources. Regards, Malcolm -- Honk if you love peace and quiet. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---