Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Did you read Doc?
https://docs.djangoproject.com/en/1.10/topics/db/m...
To do this, you need to make your own router.
https://docs.djangoproject.com/en/1.10/topics/db/m...
And there you can do it the way you want. You can write down the name of the database in the meta, for example. Or, directly in the router, make a model-base mapping.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question