On Fri, Apr 24, 2009 at 7:51 AM, realfun <real...@gmail.com> wrote: > I build a website(fayaa.com) on Bluehost using Django, but this month > database down 3 times, during that period, user can only see an > "Unexpected Exception" message, is there a way to redirect to a 404 > page instead?
If you don't mind doing things completely wrong, sure. "My database is broken and nothing on my site works" is not "file not found". It is and should always be "internal server error". Unless you'd rather have the embarrassment of people thinking there's nothing on your site to come back and see, as opposed to having them think it's down all the time. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---