mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Edited docs/modpython.txt changes from [6536]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
bfa742b6ea
commit
a1476fbca2
@ -89,18 +89,17 @@ path.
|
||||
|
||||
.. note::
|
||||
|
||||
If you're using Windows, it is still recommended that you use forward
|
||||
slashes in the pathnames, even though Windows normally uses backslashes
|
||||
for its native separator. Apache knows how to convert from the forward
|
||||
slash format to the native format, so this approach is portable and easier
|
||||
to read (it avoids tricky problems with having to double-escape
|
||||
backslashes).
|
||||
If you're using Windows, we still recommended that you use forward
|
||||
slashes in the pathnames, even though Windows normally uses the backslash
|
||||
character as its native separator. Apache knows how to convert from the
|
||||
forward slash format to the native format, so this approach is portable and
|
||||
easier to read. (It avoids tricky problems with having to double-escape
|
||||
backslashes.)
|
||||
|
||||
This is valid even on a Windows system::
|
||||
|
||||
PythonPath "['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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user