On Wed, Jul 8, 2009 at 11:37 AM, Alex Gaynor<alex.gay...@gmail.com> wrote:
> ManyToMany relations aren't stored locally the same way a ForeignKey is,
> since we use teh QuerySet API to access it.  The easiest way to work around
> this is to just setup a property/method on the Model class that pulls in the
> queryset and caches it on the
> model and always use that instead of teh default manager, that way when you
> cache the obj if it has a local cache it will be stored.

Ok, that's what I'll do.  Thanks!

-- 
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic

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