My Django app sends emails correctly to all the ADMINS as long as I don't have a custom error handler.
However, when I add a handler500 to show my custom 500_error.html page, no emails are sent. The 500_error.html page is shown properly. It seems that when you have a handler Django assumes that you take care of the error and thus does not mail anything. (Does this make any sense?)
My questions are:
How can I still force Django to send emails even when the handler500 is used?, or
How can I get the error description and mail it within my handler500 view function using send_email?
Thanks!