Re: obscenely long load times for simple create/update functions

2007-05-29 Thread James Bennett
On 5/29/07, hotani <[EMAIL PROTECTED]> wrote: > in the model, I changed to: > models.ForeignKey(Client,raw_id_admin=True) To be fair, the official model docs do recommend using raw_id_admin when the related table contains large numbers of records; otherwise, building a drop-down form of all of th

Re: obscenely long load times for simple create/update functions

2007-05-29 Thread hotani
I found in another message this fix: in the model, I changed to: models.ForeignKey(Client,raw_id_admin=True) Filing this in the "gotcha's" category. gr. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: obscenely long load times for simple create/update functions

2007-05-29 Thread hotani
I should add that I ruled out the template by commenting out the entire page. It still took a minute or more to load. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

obscenely long load times for simple create/update functions

2007-05-29 Thread hotani
Here is the basic model setup: -- class Client(models.Model): fname= models.CharField(maxlength=30) mname= models.CharField(maxlength=30, blank=True, null=True) lname= models.CharField(maxlength=30) [...and more details, but you get the point...] class