debug
This commit is contained in:
parent
9c342c9112
commit
766ea36bce
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user