Fixed #3939 -- Fixed typo in docs/modpython.txt. Thanks, jack.mangels@mexpro.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-04-09 01:05:21 +00:00
parent 1c12cb0f76
commit 7fd887b2d7
1 changed files with 2 additions and 3 deletions

View File

@ -57,17 +57,16 @@ on it, you'll need to tell mod_python::
.. caution::
Is you are using Windows, remember that the path will contain backslashes.
If you're using Windows, remember that the path will contain backslashes.
This string is passed through Python's string parser twice, so you need to
escape each backslash **twice**::
PythonPath "['c:\\\\path\\\\to\\\\project'] + sys.path"
or use raw strings::
Or, use raw strings::
PythonPath "[r'c:\\path\\to\\project'] + sys.path"
You can also add directives such as ``PythonAutoReload Off`` for performance.
See the `mod_python documentation`_ for a full list of options.