问题
I've a Django Rest Project backed by Postgres Database.
Now each app under this project has to decoupled and to be moved into different server.
But in the current views there are places where i've to import models from another app and perform operations through ORM. Keeping this in mind, how can i access the models from different apps (which will be running as separate django instance on different servers) and also perform Queries on them. ?
来源:https://stackoverflow.com/questions/51035005/accessing-models-and-orm-across-various-django-instances-microservice-architect