Opened 7 years ago

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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by annacoder

patch of django/views/debug.py file

comment:1 Changed 7 years ago by gwilson

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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

comment:2 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to 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