Hi all, We're using connection.queries to log all sql executed during development. I find myself wishing that in addition to 'sql' and 'time', there was a 'traceback' entry, so that troublesome/mysterious queries could quickly be tracked back to their origins.
Adding it is a pretty small patch -- an `import traceback` and a couple of `'traceback': traceback.extract_stack(),`s. My question is: Is there a better way to get at this data currently? Is there any interest in such a patch? Thanks, Josh P.S. Apologies if this is not a new question; it's hard to search for connection, query, traceback, etc. without getting a bunch of false positives. :) -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.