On Thu, Apr 16, 2009 at 2:45 AM, Ivan Sagalaev
wrote:
> This is a known bug about calling request middlewares outside of core
> exception handler: http://code.djangoproject.com/ticket/6094
Losing hours to a bug that's been known for over a year is massively
frustrating.
I'm not sure this ticket
Glenn Maynard wrote:
> TransactionMiddleware assumes that when process_request is called,
> either process_exception or process_response is guaranteed to be
> called. This isn't the case if another middleware raises an exception
> first. If this happens, the call to
> transaction.enter_transacti
TransactionMiddleware assumes that when process_request is called,
either process_exception or process_response is guaranteed to be
called. This isn't the case if another middleware raises an exception
first. If this happens, the call to
transaction.enter_transaction_management is not balanced w