Wednesday, July 4, 2012

Re: custom500 page does not show up ?

On 4-7-2012 5:21, Nikhil Verma wrote:
> HI All
>
> I have made a custom and a very simple 500.html page. However when i make
> debug=False and some error come in website
> still it show basic server error message.
>
> "A server error has occurred.Please contact the administrator"
>
> I want whenever there is some error it should show my custom 500 page.

Your checklist:
[ ] Make sure your custom page is not sent with tools like netcat,
telnet or curl.
[ ] Make sure your custom page is not generating a 500 error by itself
[ ] If the logger has been turned off, turn it back on and read the
email sent to the admin address.


--
Melvyn Sopacua


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment