I'm using a MySQL database and one table resides in a separate database
than all the others.  It's a generic logging table.

I understand the use of the .using() method, but I wonder if there is a
way to specify the alternative model in the model definition so I don't
have to depend on remembering to add the .using() method in any usage.

I could create a view in mysql and make the model "unmanaged" but was
wondering if there is a more pythonic way?


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to