Django

Code

Changeset 1437

Show
Ignore:
Timestamp:
11/25/05 21:17:52 (3 years ago)
Author:
adrian
Message:

Added 'Error handling' section to docs/modpython.txt

Files:

Legend:

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

    r1214 r1437  
    177177    2. Or, copy the admin media files so that they live within your document 
    178178       root. 
     179 
     180Error handling 
     181============== 
     182 
     183When you use Apache/mod_python, errors will be caught by Django -- in other 
     184words, they won't propogate to the Apache level and won't appear in the Apache 
     185``error_log``. 
     186 
     187The exception for this is if something is really wonky in your Django setup. In 
     188that case, you'll see an "Internal Server Error" page in your browser and the 
     189full Python traceback in your Apache ``error_log`` file. The ``error_log`` 
     190traceback is spread over multiple lines. (Yes, this is ugly and rather hard to 
     191read, but it's how mod_python does things.)