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:
parent
9b07806aa1
commit
6f0bc3d02b
|
@ -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``
|
||||||
|
|
Loading…
Reference in New Issue