Django

Code

Changeset 285

Show
Ignore:
Timestamp:
07/21/05 14:42:51 (3 years ago)
Author:
adrian
Message:

Fixed spelling error and reworded mod_python PythonInterpreter? section of docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/modpython.txt

    r279 r285  
    8484    </VirtualHost> 
    8585 
    86 If you need to put two Django installations within the same ``VirtualHost`` 
    87 you'll see problems due to the way mod_python caches code in memory.  To fix 
    88 this problem, you'll need to use the ``PythonInterpreter`` directive to give 
    89 different ``<Location>`` directives seperate interpreters:: 
     86If you need to put two Django installations within the same ``VirtualHost``, 
     87you'll need to take a special precaution to ensure mod_python's cache doesn't 
     88mess things up. Use the ``PythonInterpreter`` directive to give different 
     89``<Location>`` directives separate interpreters:: 
    9090 
    9191    <VirtualHost *> 
     
    9696            PythonInterpreter myproject_main 
    9797        </Location> 
    98          
     98 
    9999        <Location "/admin"> 
    100100            SetEnv DJANGO_SETTINGS_MODULE myproject.settings.admin 
     
    103103    </VirtualHost> 
    104104 
     105The values of ``PythonInterpreter`` don't really matter, as long as they're 
     106different between the two ``Location`` blocks. 
    105107 
    106108Running a development server with mod_python