On Wed, Aug 01, David Cramer wrote:

> 
> I've submitted a ticket and attached part of the patch (the fields
> selection on select_related): http://code.djangoproject.com/ticket/5020

Funny, I'm working on something similar.

I don't understand how the new API looks like, and particularily how this
could work:

  def select_related(self, *args, **kwargs): 
    ...
    return self._clone(_select_related=true_or_false,
            _max_related_depth=depth, _recurse_fields=fields) 

I don't see how `fields` gets populated. Can you please help with a
pointer? 

Michael


-- 
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourcing Company
 
Vorstand: Ingo Kraupa (Vorsitzender), Joachim Astel, Hansjochen Klenk - 
Vorsitzender des Aufsichtsrats: Stefan Schnabel - AG Nürnberg HRB 17689

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to