{"action":"created","comment":{"url":"https://api.github.com/repos/houjincheng1992/control/pulls/comments/62837865","id":62837865,"diff_hunk":"@@ -61,18 +65,29 @@ def create(self,\n                distri_height,\n                distri_ves_num,\n                distri_mode):\n+        logger.info([user,\n+               distri_id,\n+               distri_lon,\n+               distri_lat,\n+               distri_height,\n+               distri_ves_num,\n+               distri_mode])\n         try:\n-            user = User.objects.get(username=user)","path":"control/apps/modu/models.py","position":31,"original_position":31,"commit_id":"ec64f3a16ccb385c68aa6fcebeb03fba91deb292","original_commit_id":"ec64f3a16ccb385c68aa6fcebeb03fba91deb292","user":{"login":"houjincheng1992","id":12387979,"avatar_url":"https://avatars.githubusercontent.com/u/12387979?v=3","gravatar_id":"","url":"https://api.github.com/users/houjincheng1992","html_url":"https://github.com/houjincheng1992","followers_url":"https://api.github.com/users/houjincheng1992/followers","following_url":"https://api.github.com/users/houjincheng1992/following{/other_user}","gists_url":"https://api.github.com/users/houjincheng1992/gists{/gist_id}","starred_url":"https://api.github.com/users/houjincheng1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houjincheng1992/subscriptions","organizations_url":"https://api.github.com/users/houjincheng1992/orgs","repos_url":"https://api.github.com/users/houjincheng1992/repos","events_url":"https://api.github.com/users/houjincheng1992/events{/privacy}","received_events_url":"https://api.github.com/users/houjincheng1992/received_events","type":"User","site_admin":false},"body":"建议还是user 表能过保留，考虑一下如何直接在user 表中能够添加一条信息","created_at":"2016-05-11T12:25:11Z","updated_at":"2016-05-11T12:25:11Z","html_url":"https://github.com/houjincheng1992/control/pull/4#discussion_r62837865","pull_request_url":"https://api.github.com/repos/houjincheng1992/control/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/comments/62837865"},"html":{"href":"https://github.com/houjincheng1992/control/pull/4#discussion_r62837865"},"pull_request":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/houjincheng1992/control/pulls/4","id":69443172,"html_url":"https://github.com/houjincheng1992/control/pull/4","diff_url":"https://github.com/houjincheng1992/control/pull/4.diff","patch_url":"https://github.com/houjincheng1992/control/pull/4.patch","issue_url":"https://api.github.com/repos/houjincheng1992/control/issues/4","number":4,"state":"open","locked":false,"title":"finish CreateSignal main branch","user":{"login":"szqbluesky","id":15977745,"avatar_url":"https://avatars.githubusercontent.com/u/15977745?v=3","gravatar_id":"","url":"https://api.github.com/users/szqbluesky","html_url":"https://github.com/szqbluesky","followers_url":"https://api.github.com/users/szqbluesky/followers","following_url":"https://api.github.com/users/szqbluesky/following{/other_user}","gists_url":"https://api.github.com/users/szqbluesky/gists{/gist_id}","starred_url":"https://api.github.com/users/szqbluesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szqbluesky/subscriptions","organizations_url":"https://api.github.com/users/szqbluesky/orgs","repos_url":"https://api.github.com/users/szqbluesky/repos","events_url":"https://api.github.com/users/szqbluesky/events{/privacy}","received_events_url":"https://api.github.com/users/szqbluesky/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-10T03:13:23Z","updated_at":"2016-05-11T12:25:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab63407debd826fd574a868ac48c6587d0bdf245","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/houjincheng1992/control/pulls/4/commits","review_comments_url":"https://api.github.com/repos/houjincheng1992/control/pulls/4/comments","review_comment_url":"https://api.github.com/repos/houjincheng1992/control/pulls/comments{/number}","comments_url":"https://api.github.com/repos/houjincheng1992/control/issues/4/comments","statuses_url":"https://api.github.com/repos/houjincheng1992/control/statuses/ec64f3a16ccb385c68aa6fcebeb03fba91deb292","head":{"label":"szqbluesky:dev","ref":"dev","sha":"ec64f3a16ccb385c68aa6fcebeb03fba91deb292","user":{"login":"szqbluesky","id":15977745,"avatar_url":"https://avatars.githubusercontent.com/u/15977745?v=3","gravatar_id":"","url":"https://api.github.com/users/szqbluesky","html_url":"https://github.com/szqbluesky","followers_url":"https://api.github.com/users/szqbluesky/followers","following_url":"https://api.github.com/users/szqbluesky/following{/other_user}","gists_url":"https://api.github.com/users/szqbluesky/gists{/gist_id}","starred_url":"https://api.github.com/users/szqbluesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szqbluesky/subscriptions","organizations_url":"https://api.github.com/users/szqbluesky/orgs","repos_url":"https://api.github.com/users/szqbluesky/repos","events_url":"https://api.github.com/users/szqbluesky/events{/privacy}","received_events_url":"https://api.github.com/users/szqbluesky/received_events","type":"User","site_admin":false},"repo":{"id":58424343,"name":"control","full_name":"szqbluesky/control","owner":{"login":"szqbluesky","id":15977745,"avatar_url":"https://avatars.githubusercontent.com/u/15977745?v=3","gravatar_id":"","url":"https://api.github.com/users/szqbluesky","html_url":"https://github.com/szqbluesky","followers_url":"https://api.github.com/users/szqbluesky/followers","following_url":"https://api.github.com/users/szqbluesky/following{/other_user}","gists_url":"https://api.github.com/users/szqbluesky/gists{/gist_id}","starred_url":"https://api.github.com/users/szqbluesky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szqbluesky/subscriptions","organizations_url":"https://api.github.com/users/szqbluesky/orgs","repos_url":"https://api.github.com/users/szqbluesky/repos","events_url":"https://api.github.com/users/szqbluesky/events{/privacy}","received_events_url":"https://api.github.com/users/szqbluesky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/szqbluesky/control","description":"","fork":true,"url":"https://api.github.com/repos/szqbluesky/control","forks_url":"https://api.github.com/repos/szqbluesky/control/forks","keys_url":"https://api.github.com/repos/szqbluesky/control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/szqbluesky/control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/szqbluesky/control/teams","hooks_url":"https://api.github.com/repos/szqbluesky/control/hooks","issue_events_url":"https://api.github.com/repos/szqbluesky/control/issues/events{/number}","events_url":"https://api.github.com/repos/szqbluesky/control/events","assignees_url":"https://api.github.com/repos/szqbluesky/control/assignees{/user}","branches_url":"https://api.github.com/repos/szqbluesky/control/branches{/branch}","tags_url":"https://api.github.com/repos/szqbluesky/control/tags","blobs_url":"https://api.github.com/repos/szqbluesky/control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/szqbluesky/control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/szqbluesky/control/git/refs{/sha}","trees_url":"https://api.github.com/repos/szqbluesky/control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/szqbluesky/control/statuses/{sha}","languages_url":"https://api.github.com/repos/szqbluesky/control/languages","stargazers_url":"https://api.github.com/repos/szqbluesky/control/stargazers","contributors_url":"https://api.github.com/repos/szqbluesky/control/contributors","subscribers_url":"https://api.github.com/repos/szqbluesky/control/subscribers","subscription_url":"https://api.github.com/repos/szqbluesky/control/subscription","commits_url":"https://api.github.com/repos/szqbluesky/control/commits{/sha}","git_commits_url":"https://api.github.com/repos/szqbluesky/control/git/commits{/sha}","comments_url":"https://api.github.com/repos/szqbluesky/control/comments{/number}","issue_comment_url":"https://api.github.com/repos/szqbluesky/control/issues/comments{/number}","contents_url":"https://api.github.com/repos/szqbluesky/control/contents/{+path}","compare_url":"https://api.github.com/repos/szqbluesky/control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/szqbluesky/control/merges","archive_url":"https://api.github.com/repos/szqbluesky/control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/szqbluesky/control/downloads","issues_url":"https://api.github.com/repos/szqbluesky/control/issues{/number}","pulls_url":"https://api.github.com/repos/szqbluesky/control/pulls{/number}","milestones_url":"https://api.github.com/repos/szqbluesky/control/milestones{/number}","notifications_url":"https://api.github.com/repos/szqbluesky/control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/szqbluesky/control/labels{/name}","releases_url":"https://api.github.com/repos/szqbluesky/control/releases{/id}","deployments_url":"https://api.github.com/repos/szqbluesky/control/deployments","created_at":"2016-05-10T02:43:31Z","updated_at":"2016-04-10T16:29:44Z","pushed_at":"2016-05-10T03:12:25Z","git_url":"git://github.com/szqbluesky/control.git","ssh_url":"git@github.com:szqbluesky/control.git","clone_url":"https://github.com/szqbluesky/control.git","svn_url":"https://github.com/szqbluesky/control","homepage":null,"size":481,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"houjincheng1992:dev","ref":"dev","sha":"5d694aa7c38b3c78f085dd392cc7679a50ef640b","user":{"login":"houjincheng1992","id":12387979,"avatar_url":"https://avatars.githubusercontent.com/u/12387979?v=3","gravatar_id":"","url":"https://api.github.com/users/houjincheng1992","html_url":"https://github.com/houjincheng1992","followers_url":"https://api.github.com/users/houjincheng1992/followers","following_url":"https://api.github.com/users/houjincheng1992/following{/other_user}","gists_url":"https://api.github.com/users/houjincheng1992/gists{/gist_id}","starred_url":"https://api.github.com/users/houjincheng1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houjincheng1992/subscriptions","organizations_url":"https://api.github.com/users/houjincheng1992/orgs","repos_url":"https://api.github.com/users/houjincheng1992/repos","events_url":"https://api.github.com/users/houjincheng1992/events{/privacy}","received_events_url":"https://api.github.com/users/houjincheng1992/received_events","type":"User","site_admin":false},"repo":{"id":55909967,"name":"control","full_name":"houjincheng1992/control","owner":{"login":"houjincheng1992","id":12387979,"avatar_url":"https://avatars.githubusercontent.com/u/12387979?v=3","gravatar_id":"","url":"https://api.github.com/users/houjincheng1992","html_url":"https://github.com/houjincheng1992","followers_url":"https://api.github.com/users/houjincheng1992/followers","following_url":"https://api.github.com/users/houjincheng1992/following{/other_user}","gists_url":"https://api.github.com/users/houjincheng1992/gists{/gist_id}","starred_url":"https://api.github.com/users/houjincheng1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houjincheng1992/subscriptions","organizations_url":"https://api.github.com/users/houjincheng1992/orgs","repos_url":"https://api.github.com/users/houjincheng1992/repos","events_url":"https://api.github.com/users/houjincheng1992/events{/privacy}","received_events_url":"https://api.github.com/users/houjincheng1992/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/houjincheng1992/control","description":"","fork":false,"url":"https://api.github.com/repos/houjincheng1992/control","forks_url":"https://api.github.com/repos/houjincheng1992/control/forks","keys_url":"https://api.github.com/repos/houjincheng1992/control/keys{/key_id}","collaborators_url":"https://api.github.com/repos/houjincheng1992/control/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/houjincheng1992/control/teams","hooks_url":"https://api.github.com/repos/houjincheng1992/control/hooks","issue_events_url":"https://api.github.com/repos/houjincheng1992/control/issues/events{/number}","events_url":"https://api.github.com/repos/houjincheng1992/control/events","assignees_url":"https://api.github.com/repos/houjincheng1992/control/assignees{/user}","branches_url":"https://api.github.com/repos/houjincheng1992/control/branches{/branch}","tags_url":"https://api.github.com/repos/houjincheng1992/control/tags","blobs_url":"https://api.github.com/repos/houjincheng1992/control/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/houjincheng1992/control/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/houjincheng1992/control/git/refs{/sha}","trees_url":"https://api.github.com/repos/houjincheng1992/control/git/trees{/sha}","statuses_url":"https://api.github.com/repos/houjincheng1992/control/statuses/{sha}","languages_url":"https://api.github.com/repos/houjincheng1992/control/languages","stargazers_url":"https://api.github.com/repos/houjincheng1992/control/stargazers","contributors_url":"https://api.github.com/repos/houjincheng1992/control/contributors","subscribers_url":"https://api.github.com/repos/houjincheng1992/control/subscribers","subscription_url":"https://api.github.com/repos/houjincheng1992/control/subscription","commits_url":"https://api.github.com/repos/houjincheng1992/control/commits{/sha}","git_commits_url":"https://api.github.com/repos/houjincheng1992/control/git/commits{/sha}","comments_url":"https://api.github.com/repos/houjincheng1992/control/comments{/number}","issue_comment_url":"https://api.github.com/repos/houjincheng1992/control/issues/comments{/number}","contents_url":"https://api.github.com/repos/houjincheng1992/control/contents/{+path}","compare_url":"https://api.github.com/repos/houjincheng1992/control/compare/{base}...{head}","merges_url":"https://api.github.com/repos/houjincheng1992/control/merges","archive_url":"https://api.github.com/repos/houjincheng1992/control/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/houjincheng1992/control/downloads","issues_url":"https://api.github.com/repos/houjincheng1992/control/issues{/number}","pulls_url":"https://api.github.com/repos/houjincheng1992/control/pulls{/number}","milestones_url":"https://api.github.com/repos/houjincheng1992/control/milestones{/number}","notifications_url":"https://api.github.com/repos/houjincheng1992/control/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/houjincheng1992/control/labels{/name}","releases_url":"https://api.github.com/repos/houjincheng1992/control/releases{/id}","deployments_url":"https://api.github.com/repos/houjincheng1992/control/deployments","created_at":"2016-04-10T16:29:44Z","updated_at":"2016-04-10T16:29:44Z","pushed_at":"2016-05-10T03:13:23Z","git_url":"git://github.com/houjincheng1992/control.git","ssh_url":"git@github.com:houjincheng1992/control.git","clone_url":"https://github.com/houjincheng1992/control.git","svn_url":"https://github.com/houjincheng1992/control","homepage":null,"size":463,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/4"},"html":{"href":"https://github.com/houjincheng1992/control/pull/4"},"issue":{"href":"https://api.github.com/repos/houjincheng1992/control/issues/4"},"comments":{"href":"https://api.github.com/repos/houjincheng1992/control/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/houjincheng1992/control/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/houjincheng1992/control/statuses/ec64f3a16ccb385c68aa6fcebeb03fba91deb292"}}}}