some debug
This commit is contained in:
parent
82399397ef
commit
9c342c9112
|
@ -1,5 +1,6 @@
|
|||
# Create your views here.
|
||||
from django.shortcuts import render_to_response
|
||||
import Image
|
||||
|
||||
def home(request):
|
||||
return render_to_response("main/home.html")
|
||||
|
@ -21,3 +22,7 @@ def faq(request):
|
|||
|
||||
def help(request):
|
||||
return render_to_response("main/help.html")
|
||||
|
||||
def debug(request):
|
||||
imageVersion = Image.VERSION
|
||||
return HttpResponse(imageVersion)
|
||||
|
|
|
@ -11,6 +11,7 @@ urlpatterns = patterns('',
|
|||
# Example:
|
||||
# (r'^edge/', include('edge.foo.urls')),
|
||||
(r'^sandbox/$', 'main.views.home'),
|
||||
(r'^debug/$', 'main.views.debug'),
|
||||
(r'^sandbox/home$', 'main.views.home'),
|
||||
(r'^sandbox/contact$', 'main.views.contact'),
|
||||
(r'^sandbox/archive$', 'main.views.archive'),
|
||||
|
|
Loading…
Reference in New Issue
Block a user