Instruction include placing this code in wsgi.py:
path = os.path.expanduser('~/mysite')
if path not in sys.path:
sys.path.insert(0, path)
For my app, path is not in sys.path.
Code executes correctly but result of sys.path.insert(0,path) is unexpected: None. Thus index is not loading (eg. never get to app\urls.py).
What is correct syntax?