Ticket #14277: modwsgi.diff
File modwsgi.diff, 841 bytes (added by , 14 years ago) |
---|
-
docs/howto/deployment/modwsgi.txt
47 47 48 48 If your project is not on your ``PYTHONPATH`` by default you can add:: 49 49 50 path = '/ usr/local/django'50 path = '/path/to/mysite' 51 51 if path not in sys.path: 52 52 sys.path.append(path) 53 53 54 just above the final ``import`` line to place your project on the path. Remember to55 replace 'mysite.settings' with your correct settings file, and '/ usr/local/django'54 just below the ``import sys`` line to place your project on the path. Remember to 55 replace 'mysite.settings' with your correct settings file, and '/path/to/mysite' 56 56 with your own project's location. 57 57 58 58 .. _serving-media-files: