#9363: [feature request] track down where a query is requested for debugging
------------------------------------------+---------------------------------
 Reporter:  pihentagy                     |       Owner:  nobody    
   Status:  new                           |   Milestone:            
Component:  Database layer (models, ORM)  |     Version:  1.0       
 Keywords:  debug , query                 |       Stage:  Unreviewed
Has_patch:  0                             |  
------------------------------------------+---------------------------------
 I'm not a python wizard, so I'm just suspecting the following is possible:

 When you examine {{{connection.queries}}}, it would be great to write out
 the file and the line, from the Query comes from.
 Ok, one must define where the query created (the first time you say filter
 on a manager, the last time ...), but this should help greatly figuring
 out why certain queries are executed.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9363>
Django <http://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 post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to