Skip to main content

A django middleware package for logging database SQL queries to console

Project description

SQL-Inspect

The SQ:-Inspect package is a django middleware that inspects view request to database and print the SQL translation of the queries to the terminal.

Installation

include the middleware in the settings.py file as specified below:

MIDDLEWARE = [
    ...,
    "sql-inspect.middleware.SQLInspectMiddleware"
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sql-inspect-1.0.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

sql_inspect-1.0.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page