django-querycount icon indicating copy to clipboard operation
django-querycount copied to clipboard

Middleware that Prints the number of DB queries to the runserver console.

Results 15 django-querycount issues
Sort by recently updated
recently updated
newest added

Hey, is it possible to print SQL commands like here (screenshot from README)? ![image](https://user-images.githubusercontent.com/15074433/52422999-81886880-2af7-11e9-81e2-56f41ea1b4f2.png) I have default settings and get only queries number and time without SQL

It prints this: ``` web_1 | Repeated 1 times. web_1 | SELECT `django_session`.`session_key`, web_1 | `django_session`.`session_data`, `django_session`.`expire_date` FROM web_1 | `django_session` WHERE (`django_session`.`session_key` = web_1 | 'cln2uzh2qk21qqb6sfg7nvsrqwg2crbm' AND `django_session`.`expire_date` web_1...

This will many duplicates that only vary by , indicating an N+1 condition.

On Windows, using powershell, the output looks bad as colors are not supported : ``` http://127.0.0.1:8000/admin/jsi18n/ ?[0m|------|-----------|----------|----------|----------|------------| | Type | Database | Reads | Writes | Totals | Duplicates |...

I wanted the sql to be formatted so i have tried the below code for that. Can you incorporate sqlparse also if possible ``` def _duplicate_queries(self, output): """Appends the most...

Can we show the total time take for the repeated calls individually For example: presently it shows `Repeated 2 times. ` Can we have `Repeated 2 times. [0.023] `

I often debug a single endpoint with a unique request pattern. To be able to only see that in the console I have to blacklist all other request patterns that...

Hi, thanks for this awesome package. I really enjoy using it. But I have a question about how to use this package without a `request` instance? Here are some examples...

First of all: thanks so much for this module! I use it a shitload and it, basically, never lets me down. Appreciate it :) I'm getting this little problemo with...