Django

Code

Changeset 223

Show
Ignore:
Timestamp:
07/19/05 15:20:38 (3 years ago)
Author:
adrian
Message:

Added 'Running a development server with mod_python' to docs/modpython.txt

Files:

Legend:

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

    r222 r223  
    1111process, which leads to significant performance gains over other server 
    1212arrangements. 
     13 
     14Basic configuration 
     15=================== 
    1316 
    1417To configure Django with mod_python, first make sure you have Apache installed, 
     
    6164The only thing different here is the ``DJANGO_SETTINGS_MODULE``. 
    6265 
     66Running a development server with mod_python 
     67============================================ 
     68 
     69If you use mod_python for your development server, you can avoid the hassle of 
     70having to restart the server each time you make code changes. Just set 
     71``MaxRequestsPerChild 1`` in your ``httpd.conf`` file to force Apache to reload 
     72everything for each request. But don't do that on a production server, or we'll 
     73revoke your Django privileges. 
     74 
    6375.. _mod_perl: http://perl.apache.org/ 
    6476.. _mod_python documentation: http://modpython.org/live/current/doc-html/directives.html