Serving custom Django error pages
10 posts
• Page 1 of 1
Serving custom Django error pages
Hi,
Currently it seems that Zoo takes control over error pages and shows them instead Django custom ones.
Any idea how let Django handle the errors?
Thanks.
Currently it seems that Zoo takes control over error pages and shows them instead Django custom ones.
Any idea how let Django handle the errors?
Thanks.
Re: Serving custom Django error pages
Hello!
IIS has settings how to process errors from handlers.
In order to get error responses from django app you must set 'Detailed errors' in Error Pages settings for the website.
Instructions: http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers.aspx
Thank you.
IIS has settings how to process errors from handlers.
In order to get error responses from django app you must set 'Detailed errors' in Error Pages settings for the website.
Instructions: http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis7-how-to-enable-the-detailed-error-messages-for-the-website-while-browsed-from-for-the-client-browsers.aspx
Thank you.
Re: Serving custom Django error pages
Hi,
I tried changing the site error pages feature both to custom and detailed errors, but still see the Zoo ones?
Thanks.
I tried changing the site error pages feature both to custom and detailed errors, but still see the Zoo ones?
Thanks.
Re: Serving custom Django error pages
Hello,
could you show me the error page you see.
500 error page from Zoo ussually appears when problem out of django.
Thank you.
could you show me the error page you see.
500 error page from Zoo ussually appears when problem out of django.
Thank you.
Re: Serving custom Django error pages
Hi,
These are the settings:
http://take.ms/dsx9M
http://take.ms/n4bQf
And this the error:
http://take.ms/qiwaa
Thanks!
These are the settings:
http://take.ms/dsx9M
http://take.ms/n4bQf
And this the error:
http://take.ms/qiwaa
Thanks!
Re: Serving custom Django error pages
Hello,
could you please show full Zoo error page.
Looks like this error is in python code.
Thank you.
could you please show full Zoo error page.
Looks like this error is in python code.
Thank you.
Re: Serving custom Django error pages
Hi,
The problem is indeed in Python code - my question is how we show our custom error screens (handled by Django error handling), rather then by Zoo?
Thanks.
The problem is indeed in Python code - my question is how we show our custom error screens (handled by Django error handling), rather then by Zoo?
Thanks.
Re: Serving custom Django error pages
Zoo pass through any responses from workers (Django app in our case), also with 4xx and 5xx HTTP statues by default.
If your settings.py has
Thank you.
If your settings.py has
- Code: Select all
DEBUG=False
Thank you.
Re: Serving custom Django error pages
Just to clarify, by 404.html and 500.html templates you mean the Django error templates?
Thanks.
Thanks.
Re: Serving custom Django error pages
Thanks, works fine now.
Had to set errors to detailed, and Debug to False indeed .
Had to set errors to detailed, and Debug to False indeed .
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests