{"action":"created","comment":{"url":"https://api.github.com/repos/PyCon/pycon/pulls/comments/36104238","id":36104238,"diff_hunk":"@@ -93,13 +94,21 @@ def review_section(request, section_slug, assigned=False):\n     queryset = ProposalBase.objects.filter(kind__section=section)\n \n     if request.method == \"POST\" and can_manage:\n-        pk = request.POST['pk']\n-        status = request.POST['status']\n-        base_obj = queryset.get(pk=pk)\n-        p_type = section_slug.rstrip('s').replace('-', '')\n-        proposal = getattr(base_obj, 'pycon%sproposal' % p_type)\n-        proposal.overall_status = status\n-        proposal.save()\n+        pk_string = request.POST['pk']","path":"symposion/reviews/views.py","position":19,"original_position":19,"commit_id":"3c07b16cec65b6f8de89c9af8f9e1b2a088cbff0","original_commit_id":"3c07b16cec65b6f8de89c9af8f9e1b2a088cbff0","user":{"login":"dpoirier","id":2788679,"avatar_url":"https://avatars.githubusercontent.com/u/2788679?v=3","gravatar_id":"","url":"https://api.github.com/users/dpoirier","html_url":"https://github.com/dpoirier","followers_url":"https://api.github.com/users/dpoirier/followers","following_url":"https://api.github.com/users/dpoirier/following{/other_user}","gists_url":"https://api.github.com/users/dpoirier/gists{/gist_id}","starred_url":"https://api.github.com/users/dpoirier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpoirier/subscriptions","organizations_url":"https://api.github.com/users/dpoirier/orgs","repos_url":"https://api.github.com/users/dpoirier/repos","events_url":"https://api.github.com/users/dpoirier/events{/privacy}","received_events_url":"https://api.github.com/users/dpoirier/received_events","type":"User","site_admin":false},"body":"I think I'd rename this input from `pk` to `pks`, both to reflect the change in syntax and to make sure we haven't missed updating any references to the old syntax.","created_at":"2015-08-03T16:44:13Z","updated_at":"2015-08-03T16:44:13Z","html_url":"https://github.com/PyCon/pycon/pull/451#discussion_r36104238","pull_request_url":"https://api.github.com/repos/PyCon/pycon/pulls/451","_links":{"self":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/comments/36104238"},"html":{"href":"https://github.com/PyCon/pycon/pull/451#discussion_r36104238"},"pull_request":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/451"}}},"pull_request":{"url":"https://api.github.com/repos/PyCon/pycon/pulls/451","id":41479666,"html_url":"https://github.com/PyCon/pycon/pull/451","diff_url":"https://github.com/PyCon/pycon/pull/451.diff","patch_url":"https://github.com/PyCon/pycon/pull/451.patch","issue_url":"https://api.github.com/repos/PyCon/pycon/issues/451","number":451,"state":"open","locked":false,"title":"395 select multiple proposals","user":{"login":"dchukhin","id":6025153,"avatar_url":"https://avatars.githubusercontent.com/u/6025153?v=3","gravatar_id":"","url":"https://api.github.com/users/dchukhin","html_url":"https://github.com/dchukhin","followers_url":"https://api.github.com/users/dchukhin/followers","following_url":"https://api.github.com/users/dchukhin/following{/other_user}","gists_url":"https://api.github.com/users/dchukhin/gists{/gist_id}","starred_url":"https://api.github.com/users/dchukhin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchukhin/subscriptions","organizations_url":"https://api.github.com/users/dchukhin/orgs","repos_url":"https://api.github.com/users/dchukhin/repos","events_url":"https://api.github.com/users/dchukhin/events{/privacy}","received_events_url":"https://api.github.com/users/dchukhin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-03T15:36:35Z","updated_at":"2015-08-03T16:44:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"186e2fd932bb557c3024d893a4f6acaa49005872","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PyCon/pycon/pulls/451/commits","review_comments_url":"https://api.github.com/repos/PyCon/pycon/pulls/451/comments","review_comment_url":"https://api.github.com/repos/PyCon/pycon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PyCon/pycon/issues/451/comments","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/3c07b16cec65b6f8de89c9af8f9e1b2a088cbff0","head":{"label":"PyCon:395-select-multiple-proposals","ref":"395-select-multiple-proposals","sha":"3c07b16cec65b6f8de89c9af8f9e1b2a088cbff0","user":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"repo":{"id":10479791,"name":"pycon","full_name":"PyCon/pycon","owner":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyCon/pycon","description":"Website for PyCon","fork":false,"url":"https://api.github.com/repos/PyCon/pycon","forks_url":"https://api.github.com/repos/PyCon/pycon/forks","keys_url":"https://api.github.com/repos/PyCon/pycon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyCon/pycon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyCon/pycon/teams","hooks_url":"https://api.github.com/repos/PyCon/pycon/hooks","issue_events_url":"https://api.github.com/repos/PyCon/pycon/issues/events{/number}","events_url":"https://api.github.com/repos/PyCon/pycon/events","assignees_url":"https://api.github.com/repos/PyCon/pycon/assignees{/user}","branches_url":"https://api.github.com/repos/PyCon/pycon/branches{/branch}","tags_url":"https://api.github.com/repos/PyCon/pycon/tags","blobs_url":"https://api.github.com/repos/PyCon/pycon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyCon/pycon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyCon/pycon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyCon/pycon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/{sha}","languages_url":"https://api.github.com/repos/PyCon/pycon/languages","stargazers_url":"https://api.github.com/repos/PyCon/pycon/stargazers","contributors_url":"https://api.github.com/repos/PyCon/pycon/contributors","subscribers_url":"https://api.github.com/repos/PyCon/pycon/subscribers","subscription_url":"https://api.github.com/repos/PyCon/pycon/subscription","commits_url":"https://api.github.com/repos/PyCon/pycon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyCon/pycon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyCon/pycon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyCon/pycon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyCon/pycon/contents/{+path}","compare_url":"https://api.github.com/repos/PyCon/pycon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyCon/pycon/merges","archive_url":"https://api.github.com/repos/PyCon/pycon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyCon/pycon/downloads","issues_url":"https://api.github.com/repos/PyCon/pycon/issues{/number}","pulls_url":"https://api.github.com/repos/PyCon/pycon/pulls{/number}","milestones_url":"https://api.github.com/repos/PyCon/pycon/milestones{/number}","notifications_url":"https://api.github.com/repos/PyCon/pycon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyCon/pycon/labels{/name}","releases_url":"https://api.github.com/repos/PyCon/pycon/releases{/id}","created_at":"2013-06-04T13:54:18Z","updated_at":"2015-07-29T15:49:59Z","pushed_at":"2015-08-03T16:17:57Z","git_url":"git://github.com/PyCon/pycon.git","ssh_url":"git@github.com:PyCon/pycon.git","clone_url":"https://github.com/PyCon/pycon.git","svn_url":"https://github.com/PyCon/pycon","homepage":"","size":11090,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":100,"forks":38,"open_issues":100,"watchers":33,"default_branch":"develop"}},"base":{"label":"PyCon:develop","ref":"develop","sha":"f422072668fd9ef31f9955235efa18fa9c6f2cca","user":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"repo":{"id":10479791,"name":"pycon","full_name":"PyCon/pycon","owner":{"login":"PyCon","id":3891942,"avatar_url":"https://avatars.githubusercontent.com/u/3891942?v=3","gravatar_id":"","url":"https://api.github.com/users/PyCon","html_url":"https://github.com/PyCon","followers_url":"https://api.github.com/users/PyCon/followers","following_url":"https://api.github.com/users/PyCon/following{/other_user}","gists_url":"https://api.github.com/users/PyCon/gists{/gist_id}","starred_url":"https://api.github.com/users/PyCon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyCon/subscriptions","organizations_url":"https://api.github.com/users/PyCon/orgs","repos_url":"https://api.github.com/users/PyCon/repos","events_url":"https://api.github.com/users/PyCon/events{/privacy}","received_events_url":"https://api.github.com/users/PyCon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PyCon/pycon","description":"Website for PyCon","fork":false,"url":"https://api.github.com/repos/PyCon/pycon","forks_url":"https://api.github.com/repos/PyCon/pycon/forks","keys_url":"https://api.github.com/repos/PyCon/pycon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyCon/pycon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyCon/pycon/teams","hooks_url":"https://api.github.com/repos/PyCon/pycon/hooks","issue_events_url":"https://api.github.com/repos/PyCon/pycon/issues/events{/number}","events_url":"https://api.github.com/repos/PyCon/pycon/events","assignees_url":"https://api.github.com/repos/PyCon/pycon/assignees{/user}","branches_url":"https://api.github.com/repos/PyCon/pycon/branches{/branch}","tags_url":"https://api.github.com/repos/PyCon/pycon/tags","blobs_url":"https://api.github.com/repos/PyCon/pycon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyCon/pycon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyCon/pycon/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyCon/pycon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyCon/pycon/statuses/{sha}","languages_url":"https://api.github.com/repos/PyCon/pycon/languages","stargazers_url":"https://api.github.com/repos/PyCon/pycon/stargazers","contributors_url":"https://api.github.com/repos/PyCon/pycon/contributors","subscribers_url":"https://api.github.com/repos/PyCon/pycon/subscribers","subscription_url":"https://api.github.com/repos/PyCon/pycon/subscription","commits_url":"https://api.github.com/repos/PyCon/pycon/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyCon/pycon/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyCon/pycon/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyCon/pycon/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyCon/pycon/contents/{+path}","compare_url":"https://api.github.com/repos/PyCon/pycon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyCon/pycon/merges","archive_url":"https://api.github.com/repos/PyCon/pycon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyCon/pycon/downloads","issues_url":"https://api.github.com/repos/PyCon/pycon/issues{/number}","pulls_url":"https://api.github.com/repos/PyCon/pycon/pulls{/number}","milestones_url":"https://api.github.com/repos/PyCon/pycon/milestones{/number}","notifications_url":"https://api.github.com/repos/PyCon/pycon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyCon/pycon/labels{/name}","releases_url":"https://api.github.com/repos/PyCon/pycon/releases{/id}","created_at":"2013-06-04T13:54:18Z","updated_at":"2015-07-29T15:49:59Z","pushed_at":"2015-08-03T16:17:57Z","git_url":"git://github.com/PyCon/pycon.git","ssh_url":"git@github.com:PyCon/pycon.git","clone_url":"https://github.com/PyCon/pycon.git","svn_url":"https://github.com/PyCon/pycon","homepage":"","size":11090,"stargazers_count":33,"watchers_count":33,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":100,"forks":38,"open_issues":100,"watchers":33,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/451"},"html":{"href":"https://github.com/PyCon/pycon/pull/451"},"issue":{"href":"https://api.github.com/repos/PyCon/pycon/issues/451"},"comments":{"href":"https://api.github.com/repos/PyCon/pycon/issues/451/comments"},"review_comments":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/451/comments"},"review_comment":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PyCon/pycon/pulls/451/commits"},"statuses":{"href":"https://api.github.com/repos/PyCon/pycon/statuses/3c07b16cec65b6f8de89c9af8f9e1b2a088cbff0"}}}}