I think I have the same problem.
I have a custom manager that overrides self._db and get_query_set() to redirect it to different databases.
I dynamically created a model class and has my _default_manager set with my custom manager.
This works for the class itself, but not for a sibling field (foreign or many2many), although I set the set use_for_related_fields = True .
In the corresponding field, adding db_manager(dbname) (for example, record.managed_set.db_manager(dbname) ) can fix the all () method, but not for the add () method.
To understand what I mean, see this django ticket: http://code.djangoproject.com/ticket/13358
I think it works for all() , but not add() .
Beyond liu
source share