Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 736 Bytes

File metadata and controls

19 lines (14 loc) · 736 Bytes

django-sql-middleware

A basic middleware tool designed for analyzing the execution of SQL queries in Django's Object-Relational Mapping (ORM).

Usage

Include the following line of code in the middleware section of your project's settings.py file.

django-sql-middleware.middleware.new_middleware

How it works

What is the mechanism behind its functioning? The tool utilizes Django's inherent functionalities to examine the SQL generated from queries conducted by the application. External tools are utilized to format and emphasize the SQL code displayed in the terminal window.

Further Reads

Django Roadmap Django Middleware Roadmap