# HG changeset patch # User Madhusudan.C.S # Date 1291383443 -19800 # Node ID 730b6fc145d6199f8e7abf65330b4384ea8eb39a # Parent 142f7f94de19d9ec0a8a8dc9160be612a513d7a9 Added a 404 handler. diff -r 142f7f94de19 -r 730b6fc145d6 project/urls.py --- a/project/urls.py Fri Dec 03 18:12:58 2010 +0530 +++ b/project/urls.py Fri Dec 03 19:07:23 2010 +0530 @@ -158,6 +158,8 @@ 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('',