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