I am having difficulty understanding Django Multiple Databases documentation. Below is what I am trying to achieve.
I have to migrate some data from one database to another in Python. Both databases have same structure, so I only have one model file.
What I need to do in code is select data from some tables of one database and insert into tables of another database.
How can I do it, i.e., select in Model query which database to use? Also any suggestions and recommendation would be appreciated.
Thanks