--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/22122da6-f5bb-47f0-99b7-2c674c39e2fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello,
in a default Django installation the 500 responses are handled by the logger, not a middleware. It is possible to write a middleware that captures all error responses, and sends a mail about each of them (or only if they are relevant). I don't know of any that is already written, but based on the information you gave, it's not a hard task.
Best,
Gergely
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6t%2BMULAb6rqtPxqptsy0%3DGTZfUFeJ3BMxzOUHBDK1QMQng%40mail.gmail.com.