My setup include django 3.0 , my directory structure is:
/webapp/
api_1/app1/models.py
api_2/app1/models.py
The api_1 used multiple db which are configured by db routing. i want to import the api_2.app1.ModelA in my api_1.views.
i have tried to add the sys.path.append('/webapp/api_2') in api_2.wsgi, add the api_2.app1 in the INSTALLED_APPS of api_1 but still getting error of cannot found Module api_2
. i have also tried reverse of it but cannot import that also.