Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Apache's 500 error overriding Django 500 view
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brandon Taylor  
View profile  
 More options Nov 7, 7:34 am
From: Brandon Taylor <btaylordes...@gmail.com>
Date: Fri, 6 Nov 2009 12:34:30 -0800 (PST)
Local: Sat, Nov 7 2009 7:34 am
Subject: Apache's 500 error overriding Django 500 view
Hi everyone,

I'm doing my development on Ubuntu 9.1, Python 2.6.4, Apache2/mod_wsgi
and Django 1.1.1. When setting DEBUG = False, and creating a view that
I know will raise an exception, Apache's 500 error will show instead
of the Django 500 view.

I have created the 500.html template in my root templates directory
I have set debug = False
I have even set the "handler500" URL to point to my
'app.views.my_server_error_500'

and the Apache error screen will still show up.

Anyone have any idea why?

TIA,
Brandon


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maksymus007  
View profile  
 More options Nov 7, 8:05 am
From: Maksymus007 <maksymus...@gmail.com>
Date: Fri, 6 Nov 2009 22:05:02 +0100
Local: Sat, Nov 7 2009 8:05 am
Subject: Re: Apache's 500 error overriding Django 500 view

not all exceptions are handled by django - for example syntax errors.
What kind of errors is yours?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bayuadji  
View profile  
 More options Nov 8, 1:24 pm
From: Bayuadji <bayua...@gmail.com>
Date: Sat, 7 Nov 2009 21:24:45 -0500
Local: Sun, Nov 8 2009 1:24 pm
Subject: Re: Apache's 500 error overriding Django 500 view
Hi,

I've experienced when there's an error in our templatecontext
processing, so instead our 500.html our application using apache
500.html

perhaps you should check your log, to see there's an exception.

-djibon-

--
--------------------------------------------------------------
http://www.tumbletooth.org
my linkedin profile : http://www.linkedin.com/in/bayuadji
--------------------------------------------------------------

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google