This commit is contained in:
Sanj 2011-06-18 03:55:49 +05:30
parent 766ea36bce
commit 5cdf8cb75d
2 changed files with 4 additions and 0 deletions

View File

@ -29,3 +29,6 @@ def debug(request):
imageVersion = Image.VERSION
sysPath = ",".join(sys.path)
return HttpResponse(imageVersion + "\n" + sysPath)
def error(request):
return FooBar()

View File

@ -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'),