Hi,

I have read and followed to this part of the tutorial, regarding writing my 
own 404 error page.
https://docs.djangoproject.com/en/1.5/intro/tutorial03/#write-a-404-page-not-found-view

But I can't make my 404 page work it only shows my custom (500 server 
error) page when I try it.

1.)
I have created these two files *404.html* and *500.html* at this location.
/mysite1/mysite1/templates/

2.)
I changed the setting to *"DEBUG = False"* located at.
/mysite1/mysite1/

3.)
But when I restart Django's included webserver then only my custom *500.html
* error page works.
What else do I need to do to enable my custom 404.html page?


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to