Gábor Farkas wrote: > ===================== > class Owner(Model): > name = CharField(maxlength=500) > thing = ForeignKey(Thing) > ===================== > > now let's say you have a LOT of Things... like 50000. > > now, when you call Owner.AddManipulator(), he's going to fetch the WHOLE > Thing-table. just to construct the AddManipulator.
Change it to ForeignKey(Thing, raw_id_admin=True) and Django won't try to construct the select box. Yes, I find this quirky, too ;-) I hope that the manipulator replacement will deal with this in a more sane way. Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---
