On Fri, May 22, 2009 at 8:21 PM, Patrick wrote:
>
> Do I also need to use select_related() anywhere?
>
> On May 22, 5:57 pm, Alex Gaynor wrote:
> > On Fri, May 22, 2009 at 7:41 PM, George Song wrote:
> >
> > > On 5/22/2009 5:31 PM, Patrick wrote:
> > > > What is the best way to make queries on
Do I also need to use select_related() anywhere?
On May 22, 5:57 pm, Alex Gaynor wrote:
> On Fri, May 22, 2009 at 7:41 PM, George Song wrote:
>
> > On 5/22/2009 5:31 PM, Patrick wrote:
> > > What is the best way to make queries on a manytomany table?
>
> > > Given the models below, how can I ge
On Fri, May 22, 2009 at 7:41 PM, George Song wrote:
>
> On 5/22/2009 5:31 PM, Patrick wrote:
> > What is the best way to make queries on a manytomany table?
> >
> > Given the models below, how can I get a list of all the songs a
> > particular artist has?
> >
> > class Artist(models.Model):
> >
On 5/22/2009 5:31 PM, Patrick wrote:
> What is the best way to make queries on a manytomany table?
>
> Given the models below, how can I get a list of all the songs a
> particular artist has?
>
> class Artist(models.Model):
> name = models.CharField(max_length=128)
>
>def __unicode__(se
4 matches
Mail list logo