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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file sql-inspect-1.0.0.tar.gz
.
File metadata
- Download URL: sql-inspect-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a66db9121a3f640ca8e471d857b1c01052e935c36cfcfde7ecdd75fb90eec46 |
|
MD5 | 56d795ccee3d06e066e530ff6e04310d |
|
BLAKE2b-256 | c9d98638f01eed2e6e8cf53a72739c508b55cdd11c4e38bd978f96a26a47642b |
File details
Details for the file sql_inspect-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sql_inspect-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e24d648f0229ff1203e1bba7fd9debbebe621d7842627b382f7e2dee91e35f |
|
MD5 | 5fc6adeb4e4f34bd11916c19bcd1edee |
|
BLAKE2b-256 | ce29a3de0652981a211f0e3620be6ae6759c0801eac54ac9f191f197d8b2599b |