{"action":"created","comment":{"url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/comments/25994333","id":25994333,"diff_hunk":"@@ -45,25 +56,43 @@ def volume(request):\n \n     return render(request, 'problem/category.html', {'problem_id':problem_id})\n \n-def detail(request, problem_id):\n-    p = {\n-      'pid': problem_id,\n-      'title': 'A a+b problem',\n-      'description': 'Given a, b, output a+b.',\n-      'input': 'a, b <= 100000000',\n-      'output': 'a+b',\n-      'samp_input': '1 2\\n4 5',\n-      'samp_output': '3\\n9\\n',\n-      'tag': [''],\n-      'testcase': [{'num': 1, 'time': 1, 'memory': 32}, {'num': 2, 'time': 3, 'memory': 100}],\n-    }\n-    return render(request, 'problem/detail.html', p)\n+def detail(request, pid):\n+    print pid","path":"problem/views.py","position":40,"original_position":40,"commit_id":"400c95073491bb4bb828c773781ea373078e6c50","original_commit_id":"06679a749b81d93bdef8eab27f39bbc79a000b9d","user":{"login":"bruce3557","id":4061342,"avatar_url":"https://avatars.githubusercontent.com/u/4061342?v=3","gravatar_id":"","url":"https://api.github.com/users/bruce3557","html_url":"https://github.com/bruce3557","followers_url":"https://api.github.com/users/bruce3557/followers","following_url":"https://api.github.com/users/bruce3557/following{/other_user}","gists_url":"https://api.github.com/users/bruce3557/gists{/gist_id}","starred_url":"https://api.github.com/users/bruce3557/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruce3557/subscriptions","organizations_url":"https://api.github.com/users/bruce3557/orgs","repos_url":"https://api.github.com/users/bruce3557/repos","events_url":"https://api.github.com/users/bruce3557/events{/privacy}","received_events_url":"https://api.github.com/users/bruce3557/received_events","type":"User","site_admin":false},"body":"If it is need, please use log","created_at":"2015-03-07T07:54:13Z","updated_at":"2015-03-07T07:54:13Z","html_url":"https://github.com/bruce3557/NTHUOJ_web/pull/41#discussion_r25994333","pull_request_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/comments/25994333"},"html":{"href":"https://github.com/bruce3557/NTHUOJ_web/pull/41#discussion_r25994333"},"pull_request":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41","id":29179474,"html_url":"https://github.com/bruce3557/NTHUOJ_web/pull/41","diff_url":"https://github.com/bruce3557/NTHUOJ_web/pull/41.diff","patch_url":"https://github.com/bruce3557/NTHUOJ_web/pull/41.patch","issue_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/41","number":41,"state":"open","locked":false,"title":"new problem","user":{"login":"geniusgordon","id":8642924,"avatar_url":"https://avatars.githubusercontent.com/u/8642924?v=3","gravatar_id":"","url":"https://api.github.com/users/geniusgordon","html_url":"https://github.com/geniusgordon","followers_url":"https://api.github.com/users/geniusgordon/followers","following_url":"https://api.github.com/users/geniusgordon/following{/other_user}","gists_url":"https://api.github.com/users/geniusgordon/gists{/gist_id}","starred_url":"https://api.github.com/users/geniusgordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geniusgordon/subscriptions","organizations_url":"https://api.github.com/users/geniusgordon/orgs","repos_url":"https://api.github.com/users/geniusgordon/repos","events_url":"https://api.github.com/users/geniusgordon/events{/privacy}","received_events_url":"https://api.github.com/users/geniusgordon/received_events","type":"User","site_admin":false},"body":"can create new problem\r\ncannot add tag\r\ncannot add testcase","created_at":"2015-02-12T13:43:26Z","updated_at":"2015-03-07T07:54:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d5fdf73db26544214c25f03f80f9311309e1b0a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41/commits","review_comments_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41/comments","review_comment_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/41/comments","statuses_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/statuses/400c95073491bb4bb828c773781ea373078e6c50","head":{"label":"geniusgordon:new_problem","ref":"new_problem","sha":"400c95073491bb4bb828c773781ea373078e6c50","user":{"login":"geniusgordon","id":8642924,"avatar_url":"https://avatars.githubusercontent.com/u/8642924?v=3","gravatar_id":"","url":"https://api.github.com/users/geniusgordon","html_url":"https://github.com/geniusgordon","followers_url":"https://api.github.com/users/geniusgordon/followers","following_url":"https://api.github.com/users/geniusgordon/following{/other_user}","gists_url":"https://api.github.com/users/geniusgordon/gists{/gist_id}","starred_url":"https://api.github.com/users/geniusgordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geniusgordon/subscriptions","organizations_url":"https://api.github.com/users/geniusgordon/orgs","repos_url":"https://api.github.com/users/geniusgordon/repos","events_url":"https://api.github.com/users/geniusgordon/events{/privacy}","received_events_url":"https://api.github.com/users/geniusgordon/received_events","type":"User","site_admin":false},"repo":{"id":27543948,"name":"NTHUOJ_web","full_name":"geniusgordon/NTHUOJ_web","owner":{"login":"geniusgordon","id":8642924,"avatar_url":"https://avatars.githubusercontent.com/u/8642924?v=3","gravatar_id":"","url":"https://api.github.com/users/geniusgordon","html_url":"https://github.com/geniusgordon","followers_url":"https://api.github.com/users/geniusgordon/followers","following_url":"https://api.github.com/users/geniusgordon/following{/other_user}","gists_url":"https://api.github.com/users/geniusgordon/gists{/gist_id}","starred_url":"https://api.github.com/users/geniusgordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geniusgordon/subscriptions","organizations_url":"https://api.github.com/users/geniusgordon/orgs","repos_url":"https://api.github.com/users/geniusgordon/repos","events_url":"https://api.github.com/users/geniusgordon/events{/privacy}","received_events_url":"https://api.github.com/users/geniusgordon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geniusgordon/NTHUOJ_web","description":"","fork":true,"url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web","forks_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/forks","keys_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/teams","hooks_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/hooks","issue_events_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/issues/events{/number}","events_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/events","assignees_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/assignees{/user}","branches_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/branches{/branch}","tags_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/tags","blobs_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/statuses/{sha}","languages_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/languages","stargazers_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/stargazers","contributors_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/contributors","subscribers_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/subscribers","subscription_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/subscription","commits_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/contents/{+path}","compare_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/merges","archive_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/downloads","issues_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/issues{/number}","pulls_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/pulls{/number}","milestones_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/milestones{/number}","notifications_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/labels{/name}","releases_url":"https://api.github.com/repos/geniusgordon/NTHUOJ_web/releases{/id}","created_at":"2014-12-04T14:25:40Z","updated_at":"2014-12-03T06:37:03Z","pushed_at":"2015-03-05T09:04:06Z","git_url":"git://github.com/geniusgordon/NTHUOJ_web.git","ssh_url":"git@github.com:geniusgordon/NTHUOJ_web.git","clone_url":"https://github.com/geniusgordon/NTHUOJ_web.git","svn_url":"https://github.com/geniusgordon/NTHUOJ_web","homepage":null,"size":2716,"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":"bruce3557:dev","ref":"dev","sha":"76d71d47aafd4af48097bf96c9c8525d5d91d6c4","user":{"login":"bruce3557","id":4061342,"avatar_url":"https://avatars.githubusercontent.com/u/4061342?v=3","gravatar_id":"","url":"https://api.github.com/users/bruce3557","html_url":"https://github.com/bruce3557","followers_url":"https://api.github.com/users/bruce3557/followers","following_url":"https://api.github.com/users/bruce3557/following{/other_user}","gists_url":"https://api.github.com/users/bruce3557/gists{/gist_id}","starred_url":"https://api.github.com/users/bruce3557/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruce3557/subscriptions","organizations_url":"https://api.github.com/users/bruce3557/orgs","repos_url":"https://api.github.com/users/bruce3557/repos","events_url":"https://api.github.com/users/bruce3557/events{/privacy}","received_events_url":"https://api.github.com/users/bruce3557/received_events","type":"User","site_admin":false},"repo":{"id":27471538,"name":"NTHUOJ_web","full_name":"bruce3557/NTHUOJ_web","owner":{"login":"bruce3557","id":4061342,"avatar_url":"https://avatars.githubusercontent.com/u/4061342?v=3","gravatar_id":"","url":"https://api.github.com/users/bruce3557","html_url":"https://github.com/bruce3557","followers_url":"https://api.github.com/users/bruce3557/followers","following_url":"https://api.github.com/users/bruce3557/following{/other_user}","gists_url":"https://api.github.com/users/bruce3557/gists{/gist_id}","starred_url":"https://api.github.com/users/bruce3557/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruce3557/subscriptions","organizations_url":"https://api.github.com/users/bruce3557/orgs","repos_url":"https://api.github.com/users/bruce3557/repos","events_url":"https://api.github.com/users/bruce3557/events{/privacy}","received_events_url":"https://api.github.com/users/bruce3557/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bruce3557/NTHUOJ_web","description":"","fork":false,"url":"https://api.github.com/repos/bruce3557/NTHUOJ_web","forks_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/forks","keys_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/teams","hooks_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/hooks","issue_events_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/events{/number}","events_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/events","assignees_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/assignees{/user}","branches_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/branches{/branch}","tags_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/tags","blobs_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/statuses/{sha}","languages_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/languages","stargazers_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/stargazers","contributors_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/contributors","subscribers_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/subscribers","subscription_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/subscription","commits_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/contents/{+path}","compare_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/merges","archive_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/downloads","issues_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues{/number}","pulls_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls{/number}","milestones_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/milestones{/number}","notifications_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/labels{/name}","releases_url":"https://api.github.com/repos/bruce3557/NTHUOJ_web/releases{/id}","created_at":"2014-12-03T05:45:27Z","updated_at":"2014-12-10T14:13:37Z","pushed_at":"2015-03-05T03:13:16Z","git_url":"git://github.com/bruce3557/NTHUOJ_web.git","ssh_url":"git@github.com:bruce3557/NTHUOJ_web.git","clone_url":"https://github.com/bruce3557/NTHUOJ_web.git","svn_url":"https://github.com/bruce3557/NTHUOJ_web","homepage":null,"size":3835,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":12,"forks":8,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41"},"html":{"href":"https://github.com/bruce3557/NTHUOJ_web/pull/41"},"issue":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/41"},"comments":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/bruce3557/NTHUOJ_web/statuses/400c95073491bb4bb828c773781ea373078e6c50"}}}}