From b2f78b79cc9390334407542dca5fb9a5db8605ff Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Fri, 3 Dec 2010 19:07:23 +0530 Subject: Added a 404 handler. --HG-- extra : rebase_source : 29527c9806729dcf4b6664e6282806e520cfecba --- project/urls.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'project/urls.py') diff --git a/project/urls.py b/project/urls.py index b404d4c..31fafbc 100644 --- a/project/urls.py +++ b/project/urls.py @@ -158,6 +158,8 @@ urlpatterns += patterns('django.contrib.auth.views', url(r'^password-reset-complete/$', 'password_reset_complete'), ) +handler404 = 'django.views.defaults.page_not_found' + # Serve static files in DEBUG = True mode if settings.DEBUG: urlpatterns += patterns('', -- cgit