diff options
| author | Timo Graham <timograham@gmail.com> | 2010-12-29 13:59:51 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2010-12-29 13:59:51 +0000 |
| commit | 6ace3a931303565debb6a02702a7faede503964d (patch) | |
| tree | c840d0a7eee32bc4c38e616127a5cda51cb3ece1 /docs | |
| parent | 6510bb76c679a56485220c0510cf4c77b1f0880d (diff) | |
[1.2.X] Fixed #14277 - Clarify path names in modwsgi docs; thanks neitpiet for the report, elbarto for the patch.
Backport of r15098 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/howto/deployment/modwsgi.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/howto/deployment/modwsgi.txt b/docs/howto/deployment/modwsgi.txt index 17ba0e3835..50ca9e426d 100644 --- a/docs/howto/deployment/modwsgi.txt +++ b/docs/howto/deployment/modwsgi.txt @@ -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 |
