Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-09 17:21:36 +00:00
parent 9b07806aa1
commit 6f0bc3d02b
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ you have some applications under ``/usr/local/django-apps/`` (for example,
``DJANGO_SETTINGS_MODULE`` as in the above example. In this case, you would ``DJANGO_SETTINGS_MODULE`` as in the above example. In this case, you would
need to write your ``PythonPath`` directive as:: need to write your ``PythonPath`` directive as::
PythonPath "['/var/production/django-apps/', '/var/www'] + sys.path" PythonPath "['/usr/local/django-apps/', '/var/www'] + sys.path"
With this path, ``import weblog`` and ``import mysite.settings`` will both With this path, ``import weblog`` and ``import mysite.settings`` will both
work. If you had ``import blogroll`` in your code somewhere and ``blogroll`` work. If you had ``import blogroll`` in your code somewhere and ``blogroll``