Re: select_related and use_for_related_field

2012-10-02 Thread John Bazik
Okay, I see now. Can't do that. Never mind. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/5S6X8Bpl0kAJ. To post to this group, send email to django-use

Re: select_related and use_for_related_field

2012-10-01 Thread John Bazik
Does use_for_related_fields work with ManyToMany fields? From the source, it looks like it does not. Can anyone confirm that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/

select_related and use_for_related_field

2012-09-29 Thread John Bazik
I have a custom manager class that has use_for_related_field set to true, and I set it to be the default manager in my model. But when I make a query using select_related on the related field, I seem to get a plain queryset, not my custom one. Here's a quick sketch of what I'm doing: class My