Re: inner join and only method

2010-10-06 Thread refreegrata
starting from Abc works with "select_related" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

Re: inner join and only method

2010-10-06 Thread refreegrata
that don't work. The query can find the "User" fields. On 6 oct, 05:43, Daniel Roseman wrote: > On Oct 6, 2:44 am, refreegrata wrote: > > > > > Hello list. I'm have a questio. if I have an "inner join" query an use > > an "only" restriction, how can

Re: inner join and only method

2010-10-06 Thread Daniel Roseman
On Oct 6, 2:44 am, refreegrata wrote: > Hello list. I'm have a questio. if I have an "inner join" query an use > an "only" restriction, how can i put a field of the second table in > the "only" tuple? > > Example: > > Model > - > class Abc(models.Model): >    

inner join and only method

2010-10-05 Thread refreegrata
Hello list. I'm have a questio. if I have an "inner join" query an use an "only" restriction, how can i put a field of the second table in the "only" tuple? Example: Model - class Abc(models.Model): fk_user = models.ForeignKey(User, related_name='user_pp') fk_ee =