in order to use django/conf/urls/defaults.py, handler404, i did 2 things: 1:change DEBUG = False in settings.py 2:create a 404.html template in the root of the template directory
when i request a page that won't find ,such as http://localhost/page_don_exist.html.a http 500 error is reported, but wen DEBUG = True in settings.py it work normally ,http 404 error is report as expexted. my dangjo version is Django-1.0.2-final --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---