Django

Code

Ticket #6158 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

pythonpath not displayed in debug output

Reported by: annacoder Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

debug.py.patch (0.7 kB) - added by annacoder on 12/08/07 13:24:12.
patch of django/views/debug.py file

Change History

12/08/07 13:24:12 changed by annacoder

  • attachment debug.py.patch added.

patch of django/views/debug.py file

12/10/07 23:21:22 changed by gwilson

  • needs_better_patch changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • needs_docs changed.

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

12/10/07 23:22:16 changed by gwilson

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #6158 (pythonpath not displayed in debug output)




Change Properties
Action