import sys sys.path.append('/absolute/whatever/project/django_project/django_app1') sys.path.append('/absolute/whatever/project/django_project/django_app2')
Although you need to evaluate whether you want to have it in your way, as well as if in both cases there are names of competing modules. It might make sense to have up to django_project in your path and call django_app1/bar1.py when you need it, and import django_app2.bar2.whatever when you need it.
source share