Commit ca292f12 authored by Timo Graham's avatar Timo Graham
Browse files

Fixed #14277 - Clarify path names in modwsgi docs; thanks neitpiet for the...

Fixed #14277 - Clarify path names in modwsgi docs; thanks neitpiet for the report, elbarto for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent ad4969e5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -47,12 +47,12 @@ mentioned in the second part of ``WSGIScriptAlias`` and add::

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

    path = '/usr/local/django'
    path = '/path/to/mysite'
    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'
just below the ``import sys`` line to place your project on the path. Remember to
replace 'mysite.settings' with your correct settings file, and '/path/to/mysite'
with your own project's location.

.. _serving-media-files: