On Wed, Apr 1, 2009 at 1:03 PM, Miguel <migue...@gmail.com> wrote: > umm, raw_id_admin takes no effect. I think I have found the problem. As you > said it may be in the model: > > Pattern_method model has this entry definition: > > metodos_embebidos = > models.ManyToManyField('Plantilla_metodo_embebido',blank=True,null=True) > > and Plantilla_metodo_embebido has more than 100 000 entries. > > Could be this the reason to take so much time? I try to use the raw_id but > no time is saved
In the previous note you were considering putting raw_id_admin on the forma_parte_de ForeignKey field, that defined a relation to 'Plantilla_bloque'. It isn't clear from what you have written here if you tried only that and it has no discernible effect on performance, or if you also tried specifying raw_id_admin=True on this ManyToManyField? Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---