Opened 19 years ago

Closed 19 years ago

#6158 closed (fixed)

pythonpath not displayed in debug output

Reported by: annacoder Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When debug mode is set, it will be useful if the PYTHONPATH is also displayed in the debug output.

I had a case where I had set the pythonpath correctly, but since I was using Fast CGI, dispath.fgi file was changing the pythonpath,
resulting in problems. If pythonpath is given in debug output, such problems might get solved easily.

Attachments (1)

debug.py.patch​ (726 bytes ) - added by annacoder 19 years ago.
patch of django/views/debug.py file

Download all attachments as: .zip

Change History (3)

by annacoder, 19 years ago

Attachment: debug.py.patch​ added

patch of django/views/debug.py file

comment:1 by Gary Wilson, 19 years ago

Triage Stage: Unreviewed → Accepted

This would have been useful for me a few times in the past. Marking accepted.

comment:2 by Gary Wilson, 19 years ago

Resolution: → fixed
Status: new → closed

(In [6908]) Fixed #6158 -- Display PYTHONPATH on the debug error page. Thanks, annacoder.

Note: See TracTickets for help on using tickets.
Back to Top