[Django]-Django – WSGI script cannot be loaded as Python module

0👍

Add var/www/project to your PYTHONPATH.

Just add the following lines to wsgi.py:

import sys

sys.path.append('/var/www/project/')

as per OP @igteraous’ own edit to the question.

👤vvvvv

Leave a comment