Package madrona :: Package common :: Module middleware :: Class SQLLogToConsoleMiddleware
[hide private]

Class SQLLogToConsoleMiddleware

source code


Add to settings_local like so to log sql commands:

from madrona.common.default_settings import MIDDLEWARE_CLASSES

MIDDLEWARE_CLASSES += (
    'madrona.common.middleware.SQLLogToConsoleMiddleware',
)

Instance Methods [hide private]
 
process_response(self, request, response) source code