I wish to create a project with 2 apps. Each app will have its own database - one for payments and another for statements.
I have created a set of models within the models.py for the payments app and another set of models inside within the models.py for the statements app.
When I run the command "python manage.py migrate --database=statements" how will Django know to look at the models.py file inside of the statements app and create those tables in the statements database ?
In other words where do I put the code that connects the models inside of an app (statements/models.py) to the database that those models should be created and stored in?
What would be an example of what this code will look like?