Re: 2 questions on Model

2008-04-01 Thread Malcolm Tredinnick
On Tue, 2008-04-01 at 22:10 -0700, PENPEN wrote: > 1. About select_related(): > It is said that it will automatically "follow" foreign-key > relationships, selecting that additional related-object data when it > executes its query. So it is not applicable for ManyToMany > relationship, isn't it?

2 questions on Model

2008-04-01 Thread PENPEN
1. About select_related(): It is said that it will automatically "follow" foreign-key relationships, selecting that additional related-object data when it executes its query. So it is not applicable for ManyToMany relationship, isn't it? And if select_related() is used, will the queryset method