On Wed, Apr 1, 2009 at 10:52 AM, Miguel <migue...@gmail.com> wrote:

> I don really understand the raw_id_admin issue. I have read the api but it
> is still not clear.
>
> You meant  I could improve the behaviour by adding this paramter?
>
> forma_parte_de =
> models.ForeignKey('Plantilla_bloque',related_name='dentro_de',blank=True,null=True,
> raw_ide_admin=true)
>

You'd need to remove the e in '_ide_' and capitalize True, but that's the
general idea.


> And making the same method call to changemanipulator?
>

Yes.


>
> should I synchronize the database?
>
>

No, this doesn't affect what's stored in the database.  It just affects
whether the ChangeManipulator needs to go retrieve all rows from the
'Plantilla_bloque' table in order to create a Select box with a drop-down
listing all valid choices.  Depending on how big that table is, this could
make creating the ChangeManipulator much faster.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to