Django

Code

Ticket #6158: debug.py.patch

File debug.py.patch, 0.7 kB (added by annacoder, 1 year ago)

patch of django/views/debug.py file

  • debug.py

    old new  
    145145        'sys_executable': sys.executable, 
    146146        'sys_version_info': '%d.%d.%d' % sys.version_info[0:3], 
    147147        'django_version_info': get_version(), 
     148        'sys_path' : sys.path, 
    148149        'template_info': template_info, 
    149150        'template_does_not_exist': template_does_not_exist, 
    150151        'loader_debug_info': loader_debug_info, 
     
    368369      <th>Python Version:</th> 
    369370      <td>{{ sys_version_info }}</td> 
    370371    </tr> 
     372    <tr> 
     373      <th>Python Path:</th> 
     374      <td>{{ sys_path }}</td> 
     375    </tr> 
    371376  </table> 
    372377</div> 
    373378{% if unicode_hint %}