Django can make use of multiple database engines at the same time. My problem is the queries always refer to the default database. I want the queries for a different app to go to a different database instead of the default database.
How do I solve this?
Django supports multiple databases and you can use the “Automatic database routing” to do what you want.
I think that it’s enough powerful for your needs but if you need more flexibility, you can “Manually selecting a database“