Hey, why am I wrong? :( Instance caching isn't psychic, it just says "this foreign key was queried for, use the hashtable". Do you want me to say for m in instances: m.foreign = my_already_queried_value just so I can use it in templates? If Im referencing this in a view, sure, I'll use the prebuilt value, but when it gets down to it, that value isn't available everywhere (like it could be)
On Mar 23, 8:24 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, Mar 23, 2008 at 10:20 AM, Ivan Sagalaev > > <[EMAIL PROTECTED]> wrote: > > No, it's not what I'm (and, apparently, Brian) talking about. SQL that > > select_related() executes won't change at all. But model instantiation > > will: it will reuse already constructed instance. > > I understand this. I thought I'd pointed it out once already, but > again for sake of sanity... > > The list of people I am disagreeing with in this thread: > > * David > > The list of people I am not disagreeing with in this thread: > > * Everyone except David > > Can we move past that? > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
