Added a 404 handler.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Fri, 03 Dec 2010 19:07:23 +0530
changeset 334 730b6fc145d6
parent 333 142f7f94de19
child 335 42b14ae026b0
Added a 404 handler.
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('',