debug
This commit is contained in:
parent
766ea36bce
commit
5cdf8cb75d
|
@ -29,3 +29,6 @@ def debug(request):
|
|||
imageVersion = Image.VERSION
|
||||
sysPath = ",".join(sys.path)
|
||||
return HttpResponse(imageVersion + "\n" + sysPath)
|
||||
|
||||
def error(request):
|
||||
return FooBar()
|
||||
|
|
|
@ -12,6 +12,7 @@ urlpatterns = patterns('',
|
|||
# (r'^edge/', include('edge.foo.urls')),
|
||||
(r'^sandbox/$', 'main.views.home'),
|
||||
(r'^debug/$', 'main.views.debug'),
|
||||
(r'^error/$', 'main.views.error'),
|
||||
(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