From 766ea36bce1ce15ceca07d69c0d915821670eb01 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 18 Jun 2011 03:52:56 +0530 Subject: [PATCH] debug --- edgware/main/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/edgware/main/views.py b/edgware/main/views.py index ec25830..3b7cc1a 100644 --- a/edgware/main/views.py +++ b/edgware/main/views.py @@ -1,6 +1,8 @@ # Create your views here. from django.shortcuts import render_to_response import Image +import sys +from django.http import HttpResponse def home(request): return render_to_response("main/home.html") @@ -25,4 +27,5 @@ def help(request): def debug(request): imageVersion = Image.VERSION - return HttpResponse(imageVersion) + sysPath = ",".join(sys.path) + return HttpResponse(imageVersion + "\n" + sysPath)