Ticket #14277: modwsgi.diff

File modwsgi.diff, 841 bytes (added by elbarto, 4 years ago)
  • docs/howto/deployment/modwsgi.txt

     
    4747
    4848If your project is not on your ``PYTHONPATH`` by default you can add::
    4949
    50     path = '/usr/local/django'
     50    path = '/path/to/mysite'
    5151    if path not in sys.path:
    5252        sys.path.append(path)
    5353
    54 just above the final ``import`` line to place your project on the path. Remember to
    55 replace 'mysite.settings' with your correct settings file, and '/usr/local/django'
     54just below the ``import sys`` line to place your project on the path. Remember to
     55replace 'mysite.settings' with your correct settings file, and '/path/to/mysite'
    5656with your own project's location.
    5757
    5858.. _serving-media-files:
Back to Top