The main Horizon middleware class. Required for use of Horizon.
Catches internal Horizon exception classes such as NotAuthorized, NotFound and Http302 and handles them gracefully.
Adds data necessary for Horizon to function to the request.
Convert HttpResponseRedirect to HttpResponse if request is via ajax to allow ajax request to redirect url
Middleware to output operation log.
This log can includes information below:
and log format is defined OPERATION_LOG_OPTIONS.
Log error info when exception occurred.
Log user operation.