{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10057","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10057/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10057/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10057/events","html_url":"https://github.com/dimagi/commcare-hq/pull/10057","id":128842828,"number":10057,"title":"Make backend views use postgres models","user":{"login":"gcapalbo","id":1028814,"avatar_url":"https://avatars.githubusercontent.com/u/1028814?v=3","gravatar_id":"","url":"https://api.github.com/users/gcapalbo","html_url":"https://github.com/gcapalbo","followers_url":"https://api.github.com/users/gcapalbo/followers","following_url":"https://api.github.com/users/gcapalbo/following{/other_user}","gists_url":"https://api.github.com/users/gcapalbo/gists{/gist_id}","starred_url":"https://api.github.com/users/gcapalbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcapalbo/subscriptions","organizations_url":"https://api.github.com/users/gcapalbo/orgs","repos_url":"https://api.github.com/users/gcapalbo/repos","events_url":"https://api.github.com/users/gcapalbo/events{/privacy}","received_events_url":"https://api.github.com/users/gcapalbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-26T14:49:57Z","updated_at":"2016-01-26T22:54:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/10057","html_url":"https://github.com/dimagi/commcare-hq/pull/10057","diff_url":"https://github.com/dimagi/commcare-hq/pull/10057.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/10057.patch"},"body":"Do not review until https://github.com/dimagi/commcare-hq/pull/10026 is merged.  Once that happens I'll merge with master and the diff will become more manageable."},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/175279156","html_url":"https://github.com/dimagi/commcare-hq/pull/10057#issuecomment-175279156","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/10057","id":175279156,"user":{"login":"dimagimon","id":1179034,"avatar_url":"https://avatars.githubusercontent.com/u/1179034?v=3","gravatar_id":"","url":"https://api.github.com/users/dimagimon","html_url":"https://github.com/dimagimon","followers_url":"https://api.github.com/users/dimagimon/followers","following_url":"https://api.github.com/users/dimagimon/following{/other_user}","gists_url":"https://api.github.com/users/dimagimon/gists{/gist_id}","starred_url":"https://api.github.com/users/dimagimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimagimon/subscriptions","organizations_url":"https://api.github.com/users/dimagimon/orgs","repos_url":"https://api.github.com/users/dimagimon/repos","events_url":"https://api.github.com/users/dimagimon/events{/privacy}","received_events_url":"https://api.github.com/users/dimagimon/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T22:54:40Z","updated_at":"2016-01-26T22:54:40Z","body":"There are 9 errors:\n\n* corehq/apps/sms/forms.py, line 23 - F401 'get_available_backends' imported but unused\n* corehq/apps/sms/models.py, line 1641 - E303 too many blank lines (2)\n* corehq/apps/sms/views.py, line 14 - F401 'Q' imported but unused\n* corehq/apps/sms/views.py, line 548 - E303 too many blank lines (3)\n* corehq/apps/sms/views.py, line 1021 - F821 undefined name 'BadSMSConfigException'\n* corehq/apps/sms/views.py, line 1348 - F821 undefined name 'BadSMSConfigException'\n* corehq/messaging/smsbackends/grapevine/models.py, line 132 - F841 local variable 'resp' is assigned to but never used\n* corehq/messaging/smsbackends/http/models.py, line 213 - F841 local variable 'response' is assigned to but never used\n* corehq/messaging/smsbackends/megamobile/models.py, line 116 - F841 local variable 'response' is assigned to but never used\n"}}