Re: foreignKey + manipulator...performance problem, SOLVED

2006-09-04 Thread Jorge Gajon
Hi, On 8/31/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > you need to use the raw_id_admin = True flag in the ForeignKey, > and all will be fine. Great!, Thank you Gábor :) I was having the same problem too. Cheers, Jorge --~--~-~--~~~---~--~~ You received this

Re: foreignKey + manipulator...performance problem, SOLVED

2006-09-01 Thread gabor
[EMAIL PROTECTED] wrote: > > Gábor Farkas wrote: >> [EMAIL PROTECTED] wrote: >>> What do you mean with "2000 thing objects"? Are there 2000 records in >>> the database for that table, or did you have 2000 records in memory at >>> runtime? >>> >> if you don't use raw_id_admin, then (from my unders

Re: foreignKey + manipulator...performance problem, SOLVED

2006-08-31 Thread [EMAIL PROTECTED]
Gábor Farkas wrote: > [EMAIL PROTECTED] wrote: > > What do you mean with "2000 thing objects"? Are there 2000 records in > > the database for that table, or did you have 2000 records in memory at > > runtime? > > > > if you don't use raw_id_admin, then (from my understanding at least), > the mani

Re: foreignKey + manipulator...performance problem, SOLVED

2006-08-31 Thread Gábor Farkas
[EMAIL PROTECTED] wrote: > What do you mean with "2000 thing objects"? Are there 2000 records in > the database for that table, or did you have 2000 records in memory at > runtime? > if you don't use raw_id_admin, then (from my understanding at least), the manipulator loads all of them into the

Re: foreignKey + manipulator...performance problem, SOLVED

2006-08-31 Thread Laundro
What do you mean with "2000 thing objects"? Are there 2000 records in the database for that table, or did you have 2000 records in memory at runtime? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Re: foreignKey + manipulator...performance problem, SOLVED

2006-08-31 Thread Gábor Farkas
gabor wrote: > hi, > > imagine 2 simple models like: > > > = > class Thing(Model): > name = CharField(maxlength=500) > = > > > = > class Owner(Model): > name = CharField(maxlength=500) > thing = ForeignKey(Thing) > ===