On 6/7/06, Jay Parlar <[EMAIL PROTECTED]> wrote:

> What's the current definition of "Exception Middleware"? I can't find
> a good one in the docs.

From
http://www.djangoproject.com/documentation/middleware/#process-exception :
"
process_exception

Interface: process_exception(self, request, exception)

request is an HttpRequest object. exception is an Exception object
raised by the view function.

Django calls process_exception() when a view raises an exception.
process_exception() should return either None or an HttpResponse
object. If it returns an HttpResponse object, the response will be
returned to the browser. Otherwise, default exception handling kicks
in.
"

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to