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 com
Hello,
In my project I have 3 applications, and I'm trying to split them across 2
databases.
More specifically 2 of the apps and Django "auth" application should work
with the first database,
and the last application should remain in the second database.
These are the DB settings:
DATABASE_RO
https://docs.djangoproject.com/en/2.2/topics/db/multi-db/
On Wed, 30 Oct 2019, 14:39 Rajat Chopra, wrote:
> 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 th
Hi David
Your router isn't configured correctly. This applies to all the
allow_foo() methods, but see allow_migrate [1] as an example:
Determine if the migration operation is allowed to run on the
database with alias db. Return True if the operation should run, False
if it shouldn’t run, or Non
4 matches
Mail list logo