#26145: Not all SQL Queries included in sql_queries context variable
------------------------------+-------------------------
Reporter: inoks | Owner: nobody
Type: Bug | Status: new
Component: Core (Other) | Version: 1.9
Severity: Normal | Keywords: sql_queries
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-------------------------
sql_queries template variable represents only connections to default
database.
{{{
context_extras['sql_queries'] = lazy(lambda: connection.queries, list)
}}}
https://github.com/django/django/blob/917100eed7ba2f0aca2c1a5b64821c8ba5cc1bcc/django/template/context_processors.py#L46
Expected to represent queries from all connected DB's.
--
Ticket URL: <https://code.djangoproject.com/ticket/26145>
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/048.60db35b13d6b24b160bfa28a1469bd2f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.