#9363: [feature request] track down where a query is requested for debugging
-------------------------------------+-------------------------------------
Reporter: pihentagy | Owner: nobody
Type: New feature | Status: closed
Component: Database layer | Version: 1.0
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: debug , query | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by mbox):
Django debug toolbar doesn't help for any situation where you're not
running via a web browser, or in a non-request cycle. So for example, any
test case that uses assertNumQueries (see #22320 for example)
The patch for this is a simple few lines, so I don't understand your
concern about "what the code looks like"
--
Ticket URL: <https://code.djangoproject.com/ticket/9363#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.5117ce1d2ad0210119e5ac2cbd356687%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.