From 5cdf8cb75d39333171027bf46f21e56947f31943 Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 18 Jun 2011 03:55:49 +0530 Subject: [PATCH] debug --- edgware/main/views.py | 3 +++ edgware/urls.py | 1 + 2 files changed, 4 insertions(+) diff --git a/edgware/main/views.py b/edgware/main/views.py index 3b7cc1a..8283c6e 100644 --- a/edgware/main/views.py +++ b/edgware/main/views.py @@ -29,3 +29,6 @@ def debug(request): imageVersion = Image.VERSION sysPath = ",".join(sys.path) return HttpResponse(imageVersion + "\n" + sysPath) + +def error(request): + return FooBar() diff --git a/edgware/urls.py b/edgware/urls.py index 0c4ec59..b21315a 100644 --- a/edgware/urls.py +++ b/edgware/urls.py @@ -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'),