Commit 5170a12a authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

[1.2.X] Fixed #14384 -- Updated mod_wsgi docs to match documented best...

[1.2.X] Fixed #14384 -- Updated mod_wsgi docs to match documented best practice. Thanks to monokrome for the report and wogan for the patch.

Backport of r14016 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent bbab38dc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -47,7 +47,9 @@ mentioned in the second part of ``WSGIScriptAlias`` and add::

If your project is not on your ``PYTHONPATH`` by default you can add::

    sys.path.append('/usr/local/django')
    path = '/usr/local/django'
    if path not in sys.path:
        sys.path.append(path)

just above the final ``import`` line to place your project on the path. Remember to
replace 'mysite.settings' with your correct settings file, and '/usr/local/django'