On Dec 31, 3:30 pm, CB <cbw...@gmail.com> wrote:
> *Oops, sorry about the refrences to 'AdSalesModel' and setting
> using='adsales' - you can see where I'm using these ideas :)
>
> Change them to PartitionedModel and self.objects.forced_using
> respectively.

Hrm, it's clear that the current implementation is probably overly
aggressive in changing the DB, there are plenty of cases where a
related model would be on a different database.  That being said in
your case it might make sense for using() to be a no-op, since by
definition your manager is supposed to work with a specific DB.

Alex

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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