{"action":"created","comment":{"url":"https://api.github.com/repos/ashbc/tgrsite/pulls/comments/218193577","pull_request_review_id":156074024,"id":218193577,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODE5MzU3Nw==","diff_hunk":"@@ -72,14 +73,19 @@ def create_thread(request):\n def create_response(request):\n \tform = ResponseForm(request.POST)\n \tif(form.is_valid()):\n+\t\tthread = Thread.objects.get(id=request.POST.get('thread'))\n \t\tres = Response(\n \t\t\tbody=form.cleaned_data['body'],\n \t\t\tauthor=request.user.member,\n \t\t\tpub_date=timezone.now(),\n-\t\t\tthread=Thread.objects.get(id=request.POST.get('thread')),\n+\t\t\tthread=thread,\n \t\t)\n+\t\turl = reverse('viewthread', kwargs={'pk': request.POST.get('thread')})","path":"forum/views.py","position":20,"original_position":20,"commit_id":"aa51d408e2e6ef25ea4b021a084e637fdd96508a","original_commit_id":"aa51d408e2e6ef25ea4b021a084e637fdd96508a","user":{"login":"ashbc","id":5300855,"node_id":"MDQ6VXNlcjUzMDA4NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5300855?v=4","gravatar_id":"","url":"https://api.github.com/users/ashbc","html_url":"https://github.com/ashbc","followers_url":"https://api.github.com/users/ashbc/followers","following_url":"https://api.github.com/users/ashbc/following{/other_user}","gists_url":"https://api.github.com/users/ashbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ashbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashbc/subscriptions","organizations_url":"https://api.github.com/users/ashbc/orgs","repos_url":"https://api.github.com/users/ashbc/repos","events_url":"https://api.github.com/users/ashbc/events{/privacy}","received_events_url":"https://api.github.com/users/ashbc/received_events","type":"User","site_admin":false},"body":"Same question about instead using `form`.","created_at":"2018-09-17T19:15:18Z","updated_at":"2018-09-17T19:56:25Z","html_url":"https://github.com/ashbc/tgrsite/pull/93#discussion_r218193577","pull_request_url":"https://api.github.com/repos/ashbc/tgrsite/pulls/93","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/comments/218193577"},"html":{"href":"https://github.com/ashbc/tgrsite/pull/93#discussion_r218193577"},"pull_request":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/ashbc/tgrsite/pulls/93","id":215922365,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1OTIyMzY1","html_url":"https://github.com/ashbc/tgrsite/pull/93","diff_url":"https://github.com/ashbc/tgrsite/pull/93.diff","patch_url":"https://github.com/ashbc/tgrsite/pull/93.patch","issue_url":"https://api.github.com/repos/ashbc/tgrsite/issues/93","number":93,"state":"open","locked":false,"title":"Notifications!","user":{"login":"finnbar","id":4217801,"node_id":"MDQ6VXNlcjQyMTc4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/4217801?v=4","gravatar_id":"","url":"https://api.github.com/users/finnbar","html_url":"https://github.com/finnbar","followers_url":"https://api.github.com/users/finnbar/followers","following_url":"https://api.github.com/users/finnbar/following{/other_user}","gists_url":"https://api.github.com/users/finnbar/gists{/gist_id}","starred_url":"https://api.github.com/users/finnbar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnbar/subscriptions","organizations_url":"https://api.github.com/users/finnbar/orgs","repos_url":"https://api.github.com/users/finnbar/repos","events_url":"https://api.github.com/users/finnbar/events{/privacy}","received_events_url":"https://api.github.com/users/finnbar/received_events","type":"User","site_admin":false},"body":"Wowee.","created_at":"2018-09-17T09:38:40Z","updated_at":"2018-09-17T19:56:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b2903639548841aaa7ad387cd0b1e1df2fb2222","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ashbc/tgrsite/pulls/93/commits","review_comments_url":"https://api.github.com/repos/ashbc/tgrsite/pulls/93/comments","review_comment_url":"https://api.github.com/repos/ashbc/tgrsite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ashbc/tgrsite/issues/93/comments","statuses_url":"https://api.github.com/repos/ashbc/tgrsite/statuses/aa51d408e2e6ef25ea4b021a084e637fdd96508a","head":{"label":"ashbc:notifications","ref":"notifications","sha":"aa51d408e2e6ef25ea4b021a084e637fdd96508a","user":{"login":"ashbc","id":5300855,"node_id":"MDQ6VXNlcjUzMDA4NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5300855?v=4","gravatar_id":"","url":"https://api.github.com/users/ashbc","html_url":"https://github.com/ashbc","followers_url":"https://api.github.com/users/ashbc/followers","following_url":"https://api.github.com/users/ashbc/following{/other_user}","gists_url":"https://api.github.com/users/ashbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ashbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashbc/subscriptions","organizations_url":"https://api.github.com/users/ashbc/orgs","repos_url":"https://api.github.com/users/ashbc/repos","events_url":"https://api.github.com/users/ashbc/events{/privacy}","received_events_url":"https://api.github.com/users/ashbc/received_events","type":"User","site_admin":false},"repo":{"id":78335694,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzNTY5NA==","name":"tgrsite","full_name":"ashbc/tgrsite","private":false,"owner":{"login":"ashbc","id":5300855,"node_id":"MDQ6VXNlcjUzMDA4NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5300855?v=4","gravatar_id":"","url":"https://api.github.com/users/ashbc","html_url":"https://github.com/ashbc","followers_url":"https://api.github.com/users/ashbc/followers","following_url":"https://api.github.com/users/ashbc/following{/other_user}","gists_url":"https://api.github.com/users/ashbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ashbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashbc/subscriptions","organizations_url":"https://api.github.com/users/ashbc/orgs","repos_url":"https://api.github.com/users/ashbc/repos","events_url":"https://api.github.com/users/ashbc/events{/privacy}","received_events_url":"https://api.github.com/users/ashbc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ashbc/tgrsite","description":"tabletop games and roleplaying society's website","fork":false,"url":"https://api.github.com/repos/ashbc/tgrsite","forks_url":"https://api.github.com/repos/ashbc/tgrsite/forks","keys_url":"https://api.github.com/repos/ashbc/tgrsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashbc/tgrsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashbc/tgrsite/teams","hooks_url":"https://api.github.com/repos/ashbc/tgrsite/hooks","issue_events_url":"https://api.github.com/repos/ashbc/tgrsite/issues/events{/number}","events_url":"https://api.github.com/repos/ashbc/tgrsite/events","assignees_url":"https://api.github.com/repos/ashbc/tgrsite/assignees{/user}","branches_url":"https://api.github.com/repos/ashbc/tgrsite/branches{/branch}","tags_url":"https://api.github.com/repos/ashbc/tgrsite/tags","blobs_url":"https://api.github.com/repos/ashbc/tgrsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashbc/tgrsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashbc/tgrsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashbc/tgrsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashbc/tgrsite/statuses/{sha}","languages_url":"https://api.github.com/repos/ashbc/tgrsite/languages","stargazers_url":"https://api.github.com/repos/ashbc/tgrsite/stargazers","contributors_url":"https://api.github.com/repos/ashbc/tgrsite/contributors","subscribers_url":"https://api.github.com/repos/ashbc/tgrsite/subscribers","subscription_url":"https://api.github.com/repos/ashbc/tgrsite/subscription","commits_url":"https://api.github.com/repos/ashbc/tgrsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashbc/tgrsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashbc/tgrsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashbc/tgrsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashbc/tgrsite/contents/{+path}","compare_url":"https://api.github.com/repos/ashbc/tgrsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashbc/tgrsite/merges","archive_url":"https://api.github.com/repos/ashbc/tgrsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashbc/tgrsite/downloads","issues_url":"https://api.github.com/repos/ashbc/tgrsite/issues{/number}","pulls_url":"https://api.github.com/repos/ashbc/tgrsite/pulls{/number}","milestones_url":"https://api.github.com/repos/ashbc/tgrsite/milestones{/number}","notifications_url":"https://api.github.com/repos/ashbc/tgrsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashbc/tgrsite/labels{/name}","releases_url":"https://api.github.com/repos/ashbc/tgrsite/releases{/id}","deployments_url":"https://api.github.com/repos/ashbc/tgrsite/deployments","created_at":"2017-01-08T10:19:26Z","updated_at":"2018-09-12T16:59:21Z","pushed_at":"2018-09-17T09:38:41Z","git_url":"git://github.com/ashbc/tgrsite.git","ssh_url":"git@github.com:ashbc/tgrsite.git","clone_url":"https://github.com/ashbc/tgrsite.git","svn_url":"https://github.com/ashbc/tgrsite","homepage":"http://warwicktabletop.co.uk","size":8630,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":27,"watchers":0,"default_branch":"master"}},"base":{"label":"ashbc:master","ref":"master","sha":"5296a904d1077c5397629c13bbccc217ea176c29","user":{"login":"ashbc","id":5300855,"node_id":"MDQ6VXNlcjUzMDA4NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5300855?v=4","gravatar_id":"","url":"https://api.github.com/users/ashbc","html_url":"https://github.com/ashbc","followers_url":"https://api.github.com/users/ashbc/followers","following_url":"https://api.github.com/users/ashbc/following{/other_user}","gists_url":"https://api.github.com/users/ashbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ashbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashbc/subscriptions","organizations_url":"https://api.github.com/users/ashbc/orgs","repos_url":"https://api.github.com/users/ashbc/repos","events_url":"https://api.github.com/users/ashbc/events{/privacy}","received_events_url":"https://api.github.com/users/ashbc/received_events","type":"User","site_admin":false},"repo":{"id":78335694,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzNTY5NA==","name":"tgrsite","full_name":"ashbc/tgrsite","private":false,"owner":{"login":"ashbc","id":5300855,"node_id":"MDQ6VXNlcjUzMDA4NTU=","avatar_url":"https://avatars2.githubusercontent.com/u/5300855?v=4","gravatar_id":"","url":"https://api.github.com/users/ashbc","html_url":"https://github.com/ashbc","followers_url":"https://api.github.com/users/ashbc/followers","following_url":"https://api.github.com/users/ashbc/following{/other_user}","gists_url":"https://api.github.com/users/ashbc/gists{/gist_id}","starred_url":"https://api.github.com/users/ashbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashbc/subscriptions","organizations_url":"https://api.github.com/users/ashbc/orgs","repos_url":"https://api.github.com/users/ashbc/repos","events_url":"https://api.github.com/users/ashbc/events{/privacy}","received_events_url":"https://api.github.com/users/ashbc/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ashbc/tgrsite","description":"tabletop games and roleplaying society's website","fork":false,"url":"https://api.github.com/repos/ashbc/tgrsite","forks_url":"https://api.github.com/repos/ashbc/tgrsite/forks","keys_url":"https://api.github.com/repos/ashbc/tgrsite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ashbc/tgrsite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ashbc/tgrsite/teams","hooks_url":"https://api.github.com/repos/ashbc/tgrsite/hooks","issue_events_url":"https://api.github.com/repos/ashbc/tgrsite/issues/events{/number}","events_url":"https://api.github.com/repos/ashbc/tgrsite/events","assignees_url":"https://api.github.com/repos/ashbc/tgrsite/assignees{/user}","branches_url":"https://api.github.com/repos/ashbc/tgrsite/branches{/branch}","tags_url":"https://api.github.com/repos/ashbc/tgrsite/tags","blobs_url":"https://api.github.com/repos/ashbc/tgrsite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ashbc/tgrsite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ashbc/tgrsite/git/refs{/sha}","trees_url":"https://api.github.com/repos/ashbc/tgrsite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ashbc/tgrsite/statuses/{sha}","languages_url":"https://api.github.com/repos/ashbc/tgrsite/languages","stargazers_url":"https://api.github.com/repos/ashbc/tgrsite/stargazers","contributors_url":"https://api.github.com/repos/ashbc/tgrsite/contributors","subscribers_url":"https://api.github.com/repos/ashbc/tgrsite/subscribers","subscription_url":"https://api.github.com/repos/ashbc/tgrsite/subscription","commits_url":"https://api.github.com/repos/ashbc/tgrsite/commits{/sha}","git_commits_url":"https://api.github.com/repos/ashbc/tgrsite/git/commits{/sha}","comments_url":"https://api.github.com/repos/ashbc/tgrsite/comments{/number}","issue_comment_url":"https://api.github.com/repos/ashbc/tgrsite/issues/comments{/number}","contents_url":"https://api.github.com/repos/ashbc/tgrsite/contents/{+path}","compare_url":"https://api.github.com/repos/ashbc/tgrsite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ashbc/tgrsite/merges","archive_url":"https://api.github.com/repos/ashbc/tgrsite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ashbc/tgrsite/downloads","issues_url":"https://api.github.com/repos/ashbc/tgrsite/issues{/number}","pulls_url":"https://api.github.com/repos/ashbc/tgrsite/pulls{/number}","milestones_url":"https://api.github.com/repos/ashbc/tgrsite/milestones{/number}","notifications_url":"https://api.github.com/repos/ashbc/tgrsite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ashbc/tgrsite/labels{/name}","releases_url":"https://api.github.com/repos/ashbc/tgrsite/releases{/id}","deployments_url":"https://api.github.com/repos/ashbc/tgrsite/deployments","created_at":"2017-01-08T10:19:26Z","updated_at":"2018-09-12T16:59:21Z","pushed_at":"2018-09-17T09:38:41Z","git_url":"git://github.com/ashbc/tgrsite.git","ssh_url":"git@github.com:ashbc/tgrsite.git","clone_url":"https://github.com/ashbc/tgrsite.git","svn_url":"https://github.com/ashbc/tgrsite","homepage":"http://warwicktabletop.co.uk","size":8630,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":27,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":0,"open_issues":27,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/93"},"html":{"href":"https://github.com/ashbc/tgrsite/pull/93"},"issue":{"href":"https://api.github.com/repos/ashbc/tgrsite/issues/93"},"comments":{"href":"https://api.github.com/repos/ashbc/tgrsite/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ashbc/tgrsite/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/ashbc/tgrsite/statuses/aa51d408e2e6ef25ea4b021a084e637fdd96508a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ashbc"}}