From 6434de96b708756f27b2c70cfedcb20efb802c4b Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Thu, 7 Jun 2007 18:03:21 +0000 Subject: [PATCH] Fixed #3842 - clarified PythonPath directive in modpython.txt. Thanks, jon.i.austin@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5434 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/modpython.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/modpython.txt b/docs/modpython.txt index 43c5791be5..388a6168f3 100644 --- a/docs/modpython.txt +++ b/docs/modpython.txt @@ -51,9 +51,17 @@ whereas ```` points at places in the URL structure of a Web site. ```` would be meaningless here. Also, if you've manually altered your ``PYTHONPATH`` to put your Django project -on it, you'll need to tell mod_python:: +on it, you'll need to tell mod_python: - PythonPath "['/path/to/project'] + sys.path" +.. parsed-literal:: + + + SetHandler python-program + PythonHandler django.core.handlers.modpython + SetEnv DJANGO_SETTINGS_MODULE mysite.settings + PythonDebug On + **PythonPath "['/path/to/project'] + sys.path"** + .. caution::