diff options
| author | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-12-11 05:22:11 +0000 |
|---|---|---|
| committer | Gary Wilson Jr <gary.wilson@gmail.com> | 2007-12-11 05:22:11 +0000 |
| commit | c39d6e89f1c87a14b77fe29fda06fff74b249b3e (patch) | |
| tree | b484305cea0231722e0857bdf3af31e2bcb20998 | |
| parent | 8540731dc43ca96ec6ef331a9e5c2ba7ff16ff71 (diff) | |
Fixed #6158 -- Display PYTHONPATH on the debug error page. Thanks, annacoder.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/views/debug.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index 4a9d8bd8b6..cdec3f8d9d 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -145,6 +145,7 @@ def technical_500_response(request, exc_type, exc_value, tb): 'sys_executable': sys.executable, 'sys_version_info': '%d.%d.%d' % sys.version_info[0:3], 'django_version_info': get_version(), + 'sys_path' : sys.path, 'template_info': template_info, 'template_does_not_exist': template_does_not_exist, 'loader_debug_info': loader_debug_info, @@ -368,6 +369,10 @@ TECHNICAL_500_TEMPLATE = """ <th>Python Version:</th> <td>{{ sys_version_info }}</td> </tr> + <tr> + <th>Python Path:</th> + <td>{{ sys_path }}</td> + </tr> </table> </div> {% if unicode_hint %} |
