{"action":"created","issue":{"url":"https://api.github.com/repos/django-silk/silk/issues/80","labels_url":"https://api.github.com/repos/django-silk/silk/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/django-silk/silk/issues/80/comments","events_url":"https://api.github.com/repos/django-silk/silk/issues/80/events","html_url":"https://github.com/django-silk/silk/issues/80","id":110405420,"number":80,"title":"Detect manual sql queries","user":{"login":"risicle","id":807447,"avatar_url":"https://avatars.githubusercontent.com/u/807447?v=3","gravatar_id":"","url":"https://api.github.com/users/risicle","html_url":"https://github.com/risicle","followers_url":"https://api.github.com/users/risicle/followers","following_url":"https://api.github.com/users/risicle/following{/other_user}","gists_url":"https://api.github.com/users/risicle/gists{/gist_id}","starred_url":"https://api.github.com/users/risicle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risicle/subscriptions","organizations_url":"https://api.github.com/users/risicle/orgs","repos_url":"https://api.github.com/users/risicle/repos","events_url":"https://api.github.com/users/risicle/events{/privacy}","received_events_url":"https://api.github.com/users/risicle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/django-silk/silk/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/django-silk/silk/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T09:20:42Z","updated_at":"2015-11-19T21:29:42Z","closed_at":null,"body":"At the moment silk does its magic by hijacking `execute_sql`, but this doesn't catch `RawQuerySet` queries and certainly doesn't catch queries that use the bare `cursor.execute`, so these appear as time spent in python and the final sql doesn't get logged for nice introspection.\r\n\r\nIt may be tricky, but it would be nice if silk were able to catch these queries too, possibly by doing the hijacking at a lower level."},"comment":{"url":"https://api.github.com/repos/django-silk/silk/issues/comments/158203553","html_url":"https://github.com/django-silk/silk/issues/80#issuecomment-158203553","issue_url":"https://api.github.com/repos/django-silk/silk/issues/80","id":158203553,"user":{"login":"risicle","id":807447,"avatar_url":"https://avatars.githubusercontent.com/u/807447?v=3","gravatar_id":"","url":"https://api.github.com/users/risicle","html_url":"https://github.com/risicle","followers_url":"https://api.github.com/users/risicle/followers","following_url":"https://api.github.com/users/risicle/following{/other_user}","gists_url":"https://api.github.com/users/risicle/gists{/gist_id}","starred_url":"https://api.github.com/users/risicle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risicle/subscriptions","organizations_url":"https://api.github.com/users/risicle/orgs","repos_url":"https://api.github.com/users/risicle/repos","events_url":"https://api.github.com/users/risicle/events{/privacy}","received_events_url":"https://api.github.com/users/risicle/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T21:29:42Z","updated_at":"2015-11-19T21:29:42Z","body":"Afraid my todo list is million-item-long at the moment too. Don't think there's anything urgent about it, just thought it was something that belonged on the issues db."}}