Django One app corresponds to multiple databases (one app multiple databases) Connect multiple databases settings

created at 07-16-2021 views: 1

background

Due to project requirements, development is carried out in an embedded environment. In order to improve performance, it is necessary to connect sqlite under the same app.

Project directory

├─algorithm
│  ├─migrations
│  │  
│  └─
├─ark
│  ├─migrations
│  │  
│  └─__pycache__
├─other
│  └─__pycache__
├─singal_control
│  └─__pycache__
Please log in to leave a comment.