diff options
| author | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-06-11 15:53:42 +0000 |
|---|---|---|
| committer | Boulder Sprinters <boulder-sprinters@djangoproject.com> | 2007-06-11 15:53:42 +0000 |
| commit | 0f36cbec13a2a6792036b16a7596ad024592309c (patch) | |
| tree | fcef9d122cb854537186db0e8934219b6ba59764 /docs/modpython.txt | |
| parent | 5e8eef19dc78baeaed7d324e1767e8bf2b2bc387 (diff) | |
boulder-oracle-sprint: Merged to [5462]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/modpython.txt')
| -rw-r--r-- | docs/modpython.txt | 12 |
1 files 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 ``<Location>`` points at places in the URL structure of a Web site. ``<Directory>`` 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:: + + <Location "/mysite/"> + SetHandler python-program + PythonHandler django.core.handlers.modpython + SetEnv DJANGO_SETTINGS_MODULE mysite.settings + PythonDebug On + **PythonPath "['/path/to/project'] + sys.path"** + </Location> .. caution:: |
