Opened 9 years ago

Closed 9 years ago

#6158 closed (fixed)

pythonpath not displayed in debug output

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

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 9 years ago.
patch of django/views/debug.py file

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by annacoder

Attachment: debug.py.patch added

patch of django/views/debug.py file

comment:1 Changed 9 years ago by Gary Wilson

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

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

comment:2 Changed 9 years ago by Gary Wilson

Resolution: fixed
Status: newclosed

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

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