Monday, May 30, 2011

Specifying a database for a specific app

Hi there,

I have several installed applications within my Hue environment.  I'd like to use the multiple database support to route all database requests associated with apptwo.models into a database called "apptwo", while keeping everything else in the default database.  Is this possible?  It seems like I'd have to do quite a bit of work to write a custom router, whereas this seems like a pretty common case.

Thanks!

-- Philip

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment