15👍
✅
Django breaks the geneated wsgi.py for running multiple Django instances in same process in different sub interpreters. Either use mod_wsgi daemon mode and delegate each to a separate daemon process group, is better anyway, or change:
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PROJECT_A.settings")
to:
os.environ["DJANGO_SETTINGS_MODULE"] = "PROJECT_A.settings"
Similarly for other wsgi.py file.
Source:stackexchange.com