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
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
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
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
4 matches
Mail list logo