Ticket #14384: 14384.patch

File 14384.patch, 622 bytes (added by Greg Wogan-Browne, 14 years ago)
  • docs/howto/deployment/modwsgi.txt

     
    4747
    4848If your project is not on your ``PYTHONPATH`` by default you can add::
    4949
    50     sys.path.append('/usr/local/django')
     50    path = '/usr/local/django'
     51    if path not in sys.path:
     52        sys.path.append(path)
    5153
    5254just above the final ``import`` line to place your project on the path. Remember to
    5355replace 'mysite.settings' with your correct settings file, and '/usr/local/django'
Back to Top