A Django middleware package to print out queries to the terminal
Project description
Sql inspector tool
A simple middleware tool for analyzing Django ORM SQL execution.
Usage
Add the follow line of code to your middleware in your project settings.py file.
sql-inspector-tool.middleware.sql_middleware
How it works
The tool uses Django built in features to inspectthe SQL generated from queries executed by the application. 3rd party tools are used to format and highlight the SQL presented in the terminal window.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sql_inspector_tool-1.0.1.tar.gz.
File metadata
- Download URL: sql_inspector_tool-1.0.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fd5af8bf6cd56a0d273b12db8504314f46abb7e36a2815dd801ddd8e89eba62
|
|
| MD5 |
cc6af7323acb6026f4875c541b7ae7a3
|
|
| BLAKE2b-256 |
ecc273078f03b4fd961b0dcb9a70a9bfa512da8d7bde92577a4919659332e8bc
|
File details
Details for the file sql_inspector_tool-1.0.1-py3-none-any.whl.
File metadata
- Download URL: sql_inspector_tool-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8dc94a76baeab6f902b2e18796efc23f874b32721e41445504a130ccebbefb1
|
|
| MD5 |
731c385dc9f2f43bcc47603089dc3fc7
|
|
| BLAKE2b-256 |
75651a315e6edd55c0b482c03ddac899d907b516de2d0908949ea681fc96c1a0
|