{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/comments/81806594","pull_request_review_id":2759730,"id":81806594,"diff_hunk":"@@ -57,7 +57,7 @@ class Sanction(ObjectIDMixin, BaseModel):\n     mode = UNANIMOUS\n \n     # Sanction subclasses must have an initiated_by field\n-    # initiated_by = fields.ForeignField('user', backref='initiated')\n+    initiated_by = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, blank=True)","path":"osf_models/models/sanctions.py","position":5,"original_position":5,"commit_id":"da6e416d8f2d0485ca34b655c4a95a871eb49628","original_commit_id":"da6e416d8f2d0485ca34b655c4a95a871eb49628","user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"body":"Maybe we just keep like it is in v1 (commented out), then remove the invalid argument you linked to above.","created_at":"2016-10-04T17:12:20Z","updated_at":"2016-10-04T17:12:20Z","html_url":"https://github.com/CenterForOpenScience/osf-models/pull/144#discussion_r81806594","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/comments/81806594"},"html":{"href":"https://github.com/CenterForOpenScience/osf-models/pull/144#discussion_r81806594"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144","id":87924096,"html_url":"https://github.com/CenterForOpenScience/osf-models/pull/144","diff_url":"https://github.com/CenterForOpenScience/osf-models/pull/144.diff","patch_url":"https://github.com/CenterForOpenScience/osf-models/pull/144.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/144","number":144,"state":"open","locked":false,"title":"[RFR] Fix model tests so that they ... work","user":{"login":"cwisecarver","id":3709,"avatar_url":"https://avatars.githubusercontent.com/u/3709?v=3","gravatar_id":"","url":"https://api.github.com/users/cwisecarver","html_url":"https://github.com/cwisecarver","followers_url":"https://api.github.com/users/cwisecarver/followers","following_url":"https://api.github.com/users/cwisecarver/following{/other_user}","gists_url":"https://api.github.com/users/cwisecarver/gists{/gist_id}","starred_url":"https://api.github.com/users/cwisecarver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwisecarver/subscriptions","organizations_url":"https://api.github.com/users/cwisecarver/orgs","repos_url":"https://api.github.com/users/cwisecarver/repos","events_url":"https://api.github.com/users/cwisecarver/events{/privacy}","received_events_url":"https://api.github.com/users/cwisecarver/received_events","type":"User","site_admin":false},"body":"There are some changes that will be in a separate PR to OSF @sloria but this should fix the osf_models side of the tests.","created_at":"2016-10-04T16:00:28Z","updated_at":"2016-10-04T17:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96a8ab1377cb1125328dfc8c4f510731e9bf0a63","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/144/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/statuses/da6e416d8f2d0485ca34b655c4a95a871eb49628","head":{"label":"CenterForOpenScience:feature/fix-guid-tests-for-real","ref":"feature/fix-guid-tests-for-real","sha":"da6e416d8f2d0485ca34b655c4a95a871eb49628","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":54757593,"name":"osf-models","full_name":"CenterForOpenScience/osf-models","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf-models","description":"[in progress] Django models for the OSF","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf-models","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/deployments","created_at":"2016-03-26T01:54:15Z","updated_at":"2016-07-18T18:59:19Z","pushed_at":"2016-10-04T16:12:24Z","git_url":"git://github.com/CenterForOpenScience/osf-models.git","ssh_url":"git@github.com:CenterForOpenScience/osf-models.git","clone_url":"https://github.com/CenterForOpenScience/osf-models.git","svn_url":"https://github.com/CenterForOpenScience/osf-models","homepage":"","size":1016,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":55,"forks":5,"open_issues":55,"watchers":0,"default_branch":"master"}},"base":{"label":"CenterForOpenScience:master","ref":"master","sha":"aa1a1efd0ba17288e10c92422edafd22b85cbc80","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":54757593,"name":"osf-models","full_name":"CenterForOpenScience/osf-models","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf-models","description":"[in progress] Django models for the OSF","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf-models","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf-models/deployments","created_at":"2016-03-26T01:54:15Z","updated_at":"2016-07-18T18:59:19Z","pushed_at":"2016-10-04T16:12:24Z","git_url":"git://github.com/CenterForOpenScience/osf-models.git","ssh_url":"git@github.com:CenterForOpenScience/osf-models.git","clone_url":"https://github.com/CenterForOpenScience/osf-models.git","svn_url":"https://github.com/CenterForOpenScience/osf-models","homepage":"","size":1016,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":55,"forks":5,"open_issues":55,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144"},"html":{"href":"https://github.com/CenterForOpenScience/osf-models/pull/144"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/144"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf-models/statuses/da6e416d8f2d0485ca34b655c4a95a871eb49628"}}}}
{"actor":{"display_login":"sloria"}}