How to stop to migrate default app of django in multi connection | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to stop to migrate default app of django in multi connection

suppose I have two connection 1. default(database : db1) and 2. another_conn(database : db2) for application my_app. I want not to create default apps tables (user, session and content it should be created in default con) in db2 while running migration command (python manage.py migrate --database=another_conn) of Django in database.

9th May 2018, 9:27 AM
Chandan Kumar Ojha
Chandan Kumar Ojha - avatar
2 Answers
9th May 2018, 10:06 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
0
not exactly.. any way thanks.have you ever tried this?
10th May 2018, 2:30 AM
Chandan Kumar Ojha
Chandan Kumar Ojha - avatar