Skip to main content

A Django middleware package to print SQL queries to the terminal

Project description

SQL Tools

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

'wncfe-sql-tools.middleware.new_middleware'

How it works

The tool uses Django built in features to inspect the 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


Download files

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

Source Distribution

wncfe-query-inspector-1.0.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wncfe_query_inspector-1.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file wncfe-query-inspector-1.0.1.tar.gz.

File metadata

  • Download URL: wncfe-query-inspector-1.0.1.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for wncfe-query-inspector-1.0.1.tar.gz
Algorithm Hash digest
SHA256 799fee91da97bddebc80b9b48f4e5c18ca09c5a8a40a52198a7bfce400c6ba92
MD5 26ba68311b15e58d1d5b6971389f7bef
BLAKE2b-256 610cb4f196ba0153eb1c35f0b75b87758d1160fedc8c7048baf8e4784c37a289

See more details on using hashes here.

File details

Details for the file wncfe_query_inspector-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wncfe_query_inspector-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 774c7362e98f32fedfa5991d3c29f343caf2505339514ab4ebf793ad7a0d2317
MD5 0231a994d65f366875706ace8f20106c
BLAKE2b-256 5515929279ab660f88d65abf2a5c1c7d2366a8cb7fc78b88eac93bfef4324665

See more details on using hashes here.

Supported by

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