django部署Apache后报ModuleNotFoundError
解决:https://www.cnpython.com/qa/92069
再wsgi.py中添加:
sys.path.append('/home/django_projects/MyProject')
sys.path.append('/home/django_projects/MyProject/myproject')
解决:https://www.cnpython.com/qa/92069
再wsgi.py中添加:
sys.path.append('/home/django_projects/MyProject')
sys.path.append('/home/django_projects/MyProject/myproject')