Skip to main content

A Django middleware package to print out queries to the terminal

Project description

veryacademy-sql-tools

A simple middleware tool for analyzing Django ORM SQL execution. You can learn how to build this middleware package on our course at Udemy.

Usage

Add the follow line of code to your middleware in your project settings.py file.

veryacademy-sql-tools.middleware.new_middleware

How it works

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

veryacademy-sql-tools-1.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

veryacademy_sql_tools-1.0.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file veryacademy-sql-tools-1.0.1.tar.gz.

File metadata

  • Download URL: veryacademy-sql-tools-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for veryacademy-sql-tools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5eedb8a8be1b74a7584bb14702b7de5e20a9405a063080bc72bc27575377678f
MD5 e12f7fb7f64598d508194ea09dbf3aec
BLAKE2b-256 75f46d3a7e06aa9e0d5d7d36cb00a37602956d0cb7a005da4cb092a65e5b11bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for veryacademy_sql_tools-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b2dd5aadddfb2137d2892e4f83e6a622af18864b9acb37dd7eb9ab7d88dd287
MD5 9b47ea17126d54ac5b97d36ea8ddf98c
BLAKE2b-256 d8f02447b05b2d90e19ee963dd37f7df5c2d7ac452f4e681ec1c44d3ba1e6648

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