{"action":"created","comment":{"url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/comments/36334528","id":36334528,"diff_hunk":"@@ -128,11 +128,12 @@ def make_draft_registraton(user, node, schema, data):\n         registration_schema=schema,\n         registration_metadata=data,\n     )\n-    if schema.requires_approval:\n-        draft.approval = DraftRegistrationApproval(\n-            initiated_by=user,\n-            end_date=None,  # TODO: expire me?\n-        )\n+    # TODO: implement in schema first","path":"website/project/views/drafts.py","position":9,"original_position":9,"commit_id":"676b560011d17f6f8cb5f9bd4fec17bc16710063","original_commit_id":"676b560011d17f6f8cb5f9bd4fec17bc16710063","user":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"body":"What is this commented out?","created_at":"2015-08-05T18:12:58Z","updated_at":"2015-08-05T18:12:58Z","html_url":"https://github.com/samchrisinger/osf.io/pull/32#discussion_r36334528","pull_request_url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/comments/36334528"},"html":{"href":"https://github.com/samchrisinger/osf.io/pull/32#discussion_r36334528"},"pull_request":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32","id":41707923,"html_url":"https://github.com/samchrisinger/osf.io/pull/32","diff_url":"https://github.com/samchrisinger/osf.io/pull/32.diff","patch_url":"https://github.com/samchrisinger/osf.io/pull/32.patch","issue_url":"https://api.github.com/repos/samchrisinger/osf.io/issues/32","number":32,"state":"open","locked":false,"title":"Add: Don't have comments created over one another","user":{"login":"barbour-em","id":8905795,"avatar_url":"https://avatars.githubusercontent.com/u/8905795?v=3","gravatar_id":"","url":"https://api.github.com/users/barbour-em","html_url":"https://github.com/barbour-em","followers_url":"https://api.github.com/users/barbour-em/followers","following_url":"https://api.github.com/users/barbour-em/following{/other_user}","gists_url":"https://api.github.com/users/barbour-em/gists{/gist_id}","starred_url":"https://api.github.com/users/barbour-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbour-em/subscriptions","organizations_url":"https://api.github.com/users/barbour-em/orgs","repos_url":"https://api.github.com/users/barbour-em/repos","events_url":"https://api.github.com/users/barbour-em/events{/privacy}","received_events_url":"https://api.github.com/users/barbour-em/received_events","type":"User","site_admin":false},"body":"Tests still need to be written for this but I want to make sure that this is the behavior we discussed @samchrisinger\r\n\r\nRelevant code is [here](https://github.com/samchrisinger/osf.io/pull/32/files#diff-b4b50a4acab364147a53259fa3fe9b3fR3281)","created_at":"2015-08-05T18:05:19Z","updated_at":"2015-08-05T18:12:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91acd8680773ddbb9f037911d8387e595a417eb5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32/commits","review_comments_url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32/comments","review_comment_url":"https://api.github.com/repos/samchrisinger/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samchrisinger/osf.io/issues/32/comments","statuses_url":"https://api.github.com/repos/samchrisinger/osf.io/statuses/676b560011d17f6f8cb5f9bd4fec17bc16710063","head":{"label":"barbour-em:feature/prereg/conflict-comments","ref":"feature/prereg/conflict-comments","sha":"676b560011d17f6f8cb5f9bd4fec17bc16710063","user":{"login":"barbour-em","id":8905795,"avatar_url":"https://avatars.githubusercontent.com/u/8905795?v=3","gravatar_id":"","url":"https://api.github.com/users/barbour-em","html_url":"https://github.com/barbour-em","followers_url":"https://api.github.com/users/barbour-em/followers","following_url":"https://api.github.com/users/barbour-em/following{/other_user}","gists_url":"https://api.github.com/users/barbour-em/gists{/gist_id}","starred_url":"https://api.github.com/users/barbour-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbour-em/subscriptions","organizations_url":"https://api.github.com/users/barbour-em/orgs","repos_url":"https://api.github.com/users/barbour-em/repos","events_url":"https://api.github.com/users/barbour-em/events{/privacy}","received_events_url":"https://api.github.com/users/barbour-em/received_events","type":"User","site_admin":false},"repo":{"id":36770824,"name":"osf.io","full_name":"barbour-em/osf.io","owner":{"login":"barbour-em","id":8905795,"avatar_url":"https://avatars.githubusercontent.com/u/8905795?v=3","gravatar_id":"","url":"https://api.github.com/users/barbour-em","html_url":"https://github.com/barbour-em","followers_url":"https://api.github.com/users/barbour-em/followers","following_url":"https://api.github.com/users/barbour-em/following{/other_user}","gists_url":"https://api.github.com/users/barbour-em/gists{/gist_id}","starred_url":"https://api.github.com/users/barbour-em/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbour-em/subscriptions","organizations_url":"https://api.github.com/users/barbour-em/orgs","repos_url":"https://api.github.com/users/barbour-em/repos","events_url":"https://api.github.com/users/barbour-em/events{/privacy}","received_events_url":"https://api.github.com/users/barbour-em/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barbour-em/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/barbour-em/osf.io","forks_url":"https://api.github.com/repos/barbour-em/osf.io/forks","keys_url":"https://api.github.com/repos/barbour-em/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barbour-em/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barbour-em/osf.io/teams","hooks_url":"https://api.github.com/repos/barbour-em/osf.io/hooks","issue_events_url":"https://api.github.com/repos/barbour-em/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/barbour-em/osf.io/events","assignees_url":"https://api.github.com/repos/barbour-em/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/barbour-em/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/barbour-em/osf.io/tags","blobs_url":"https://api.github.com/repos/barbour-em/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barbour-em/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barbour-em/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/barbour-em/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barbour-em/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/barbour-em/osf.io/languages","stargazers_url":"https://api.github.com/repos/barbour-em/osf.io/stargazers","contributors_url":"https://api.github.com/repos/barbour-em/osf.io/contributors","subscribers_url":"https://api.github.com/repos/barbour-em/osf.io/subscribers","subscription_url":"https://api.github.com/repos/barbour-em/osf.io/subscription","commits_url":"https://api.github.com/repos/barbour-em/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/barbour-em/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/barbour-em/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/barbour-em/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/barbour-em/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/barbour-em/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barbour-em/osf.io/merges","archive_url":"https://api.github.com/repos/barbour-em/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barbour-em/osf.io/downloads","issues_url":"https://api.github.com/repos/barbour-em/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/barbour-em/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/barbour-em/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/barbour-em/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barbour-em/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/barbour-em/osf.io/releases{/id}","created_at":"2015-06-03T00:55:54Z","updated_at":"2015-06-03T00:55:58Z","pushed_at":"2015-08-05T17:58:14Z","git_url":"git://github.com/barbour-em/osf.io.git","ssh_url":"git@github.com:barbour-em/osf.io.git","clone_url":"https://github.com/barbour-em/osf.io.git","svn_url":"https://github.com/barbour-em/osf.io","homepage":"http://osf.io","size":98100,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"develop"}},"base":{"label":"samchrisinger:feature/prereg-prize","ref":"feature/prereg-prize","sha":"bb13e189fe0739d57a4246bf9aa5b4248f210dae","user":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"repo":{"id":30772672,"name":"osf.io","full_name":"samchrisinger/osf.io","owner":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samchrisinger/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/samchrisinger/osf.io","forks_url":"https://api.github.com/repos/samchrisinger/osf.io/forks","keys_url":"https://api.github.com/repos/samchrisinger/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samchrisinger/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samchrisinger/osf.io/teams","hooks_url":"https://api.github.com/repos/samchrisinger/osf.io/hooks","issue_events_url":"https://api.github.com/repos/samchrisinger/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/samchrisinger/osf.io/events","assignees_url":"https://api.github.com/repos/samchrisinger/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/samchrisinger/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/samchrisinger/osf.io/tags","blobs_url":"https://api.github.com/repos/samchrisinger/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samchrisinger/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samchrisinger/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/samchrisinger/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samchrisinger/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/samchrisinger/osf.io/languages","stargazers_url":"https://api.github.com/repos/samchrisinger/osf.io/stargazers","contributors_url":"https://api.github.com/repos/samchrisinger/osf.io/contributors","subscribers_url":"https://api.github.com/repos/samchrisinger/osf.io/subscribers","subscription_url":"https://api.github.com/repos/samchrisinger/osf.io/subscription","commits_url":"https://api.github.com/repos/samchrisinger/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/samchrisinger/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/samchrisinger/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/samchrisinger/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/samchrisinger/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/samchrisinger/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samchrisinger/osf.io/merges","archive_url":"https://api.github.com/repos/samchrisinger/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samchrisinger/osf.io/downloads","issues_url":"https://api.github.com/repos/samchrisinger/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/samchrisinger/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/samchrisinger/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/samchrisinger/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samchrisinger/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/samchrisinger/osf.io/releases{/id}","created_at":"2015-02-13T19:40:14Z","updated_at":"2015-02-27T18:03:37Z","pushed_at":"2015-08-05T18:05:20Z","git_url":"git://github.com/samchrisinger/osf.io.git","ssh_url":"git@github.com:samchrisinger/osf.io.git","clone_url":"https://github.com/samchrisinger/osf.io.git","svn_url":"https://github.com/samchrisinger/osf.io","homepage":"http://osf.io","size":100149,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32"},"html":{"href":"https://github.com/samchrisinger/osf.io/pull/32"},"issue":{"href":"https://api.github.com/repos/samchrisinger/osf.io/issues/32"},"comments":{"href":"https://api.github.com/repos/samchrisinger/osf.io/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samchrisinger/osf.io/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/samchrisinger/osf.io/statuses/676b560011d17f6f8cb5f9bd4fec17bc16710063"}}}}