{"action":"created","comment":{"url":"https://api.github.com/repos/HackSoftware/Odin/pulls/comments/176953966","pull_request_review_id":106743410,"id":176953966,"diff_hunk":"@@ -156,41 +156,36 @@ class IncludedMaterial(BaseMaterial):\n     material = models.ForeignKey(Material,\n                                  on_delete=models.CASCADE,\n                                  related_name='included_materials')\n-    topic = models.ForeignKey('Topic',\n-                              on_delete=models.CASCADE,\n-                              related_name='materials')\n+    week = models.ForeignKey('Week',\n+                             related_name='materials',\n+                             null=True,\n+                             )\n+\n+    course = models.ForeignKey(Course,\n+                               related_name='included_materials',\n+                               null=True,\n+                               )","path":"odin/education/models.py","position":27,"original_position":15,"commit_id":"2a6f9117417ed1691d01e1a0c588986fdd18c844","original_commit_id":"ecbaacd1db438aeb1cf056be38ff795c05431e00","user":{"login":"yaggul","id":10837766,"avatar_url":"https://avatars0.githubusercontent.com/u/10837766?v=4","gravatar_id":"","url":"https://api.github.com/users/yaggul","html_url":"https://github.com/yaggul","followers_url":"https://api.github.com/users/yaggul/followers","following_url":"https://api.github.com/users/yaggul/following{/other_user}","gists_url":"https://api.github.com/users/yaggul/gists{/gist_id}","starred_url":"https://api.github.com/users/yaggul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaggul/subscriptions","organizations_url":"https://api.github.com/users/yaggul/orgs","repos_url":"https://api.github.com/users/yaggul/repos","events_url":"https://api.github.com/users/yaggul/events{/privacy}","received_events_url":"https://api.github.com/users/yaggul/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-03-25T21:02:40Z","updated_at":"2018-03-25T21:02:41Z","html_url":"https://github.com/HackSoftware/Odin/pull/74#discussion_r176953966","pull_request_url":"https://api.github.com/repos/HackSoftware/Odin/pulls/74","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/comments/176953966"},"html":{"href":"https://github.com/HackSoftware/Odin/pull/74#discussion_r176953966"},"pull_request":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/74"}},"in_reply_to_id":176907616},"pull_request":{"url":"https://api.github.com/repos/HackSoftware/Odin/pulls/74","id":177234005,"html_url":"https://github.com/HackSoftware/Odin/pull/74","diff_url":"https://github.com/HackSoftware/Odin/pull/74.diff","patch_url":"https://github.com/HackSoftware/Odin/pull/74.patch","issue_url":"https://api.github.com/repos/HackSoftware/Odin/issues/74","number":74,"state":"open","locked":false,"title":"Models refactor","user":{"login":"RadoRado","id":387867,"avatar_url":"https://avatars3.githubusercontent.com/u/387867?v=4","gravatar_id":"","url":"https://api.github.com/users/RadoRado","html_url":"https://github.com/RadoRado","followers_url":"https://api.github.com/users/RadoRado/followers","following_url":"https://api.github.com/users/RadoRado/following{/other_user}","gists_url":"https://api.github.com/users/RadoRado/gists{/gist_id}","starred_url":"https://api.github.com/users/RadoRado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadoRado/subscriptions","organizations_url":"https://api.github.com/users/RadoRado/orgs","repos_url":"https://api.github.com/users/RadoRado/repos","events_url":"https://api.github.com/users/RadoRado/events{/privacy}","received_events_url":"https://api.github.com/users/RadoRado/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-24T12:00:27Z","updated_at":"2018-03-25T21:02:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b0b9fc4d1d278d415105f8f7440300ebd21f795","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HackSoftware/Odin/pulls/74/commits","review_comments_url":"https://api.github.com/repos/HackSoftware/Odin/pulls/74/comments","review_comment_url":"https://api.github.com/repos/HackSoftware/Odin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HackSoftware/Odin/issues/74/comments","statuses_url":"https://api.github.com/repos/HackSoftware/Odin/statuses/2a6f9117417ed1691d01e1a0c588986fdd18c844","head":{"label":"HackSoftware:models_refactor","ref":"models_refactor","sha":"2a6f9117417ed1691d01e1a0c588986fdd18c844","user":{"login":"HackSoftware","id":11139128,"avatar_url":"https://avatars1.githubusercontent.com/u/11139128?v=4","gravatar_id":"","url":"https://api.github.com/users/HackSoftware","html_url":"https://github.com/HackSoftware","followers_url":"https://api.github.com/users/HackSoftware/followers","following_url":"https://api.github.com/users/HackSoftware/following{/other_user}","gists_url":"https://api.github.com/users/HackSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoftware/subscriptions","organizations_url":"https://api.github.com/users/HackSoftware/orgs","repos_url":"https://api.github.com/users/HackSoftware/repos","events_url":"https://api.github.com/users/HackSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":92667396,"name":"Odin","full_name":"HackSoftware/Odin","owner":{"login":"HackSoftware","id":11139128,"avatar_url":"https://avatars1.githubusercontent.com/u/11139128?v=4","gravatar_id":"","url":"https://api.github.com/users/HackSoftware","html_url":"https://github.com/HackSoftware","followers_url":"https://api.github.com/users/HackSoftware/followers","following_url":"https://api.github.com/users/HackSoftware/following{/other_user}","gists_url":"https://api.github.com/users/HackSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoftware/subscriptions","organizations_url":"https://api.github.com/users/HackSoftware/orgs","repos_url":"https://api.github.com/users/HackSoftware/repos","events_url":"https://api.github.com/users/HackSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HackSoftware/Odin","description":"Learning management system for HackBulgaria / HackSoft Academy","fork":false,"url":"https://api.github.com/repos/HackSoftware/Odin","forks_url":"https://api.github.com/repos/HackSoftware/Odin/forks","keys_url":"https://api.github.com/repos/HackSoftware/Odin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HackSoftware/Odin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HackSoftware/Odin/teams","hooks_url":"https://api.github.com/repos/HackSoftware/Odin/hooks","issue_events_url":"https://api.github.com/repos/HackSoftware/Odin/issues/events{/number}","events_url":"https://api.github.com/repos/HackSoftware/Odin/events","assignees_url":"https://api.github.com/repos/HackSoftware/Odin/assignees{/user}","branches_url":"https://api.github.com/repos/HackSoftware/Odin/branches{/branch}","tags_url":"https://api.github.com/repos/HackSoftware/Odin/tags","blobs_url":"https://api.github.com/repos/HackSoftware/Odin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HackSoftware/Odin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HackSoftware/Odin/git/refs{/sha}","trees_url":"https://api.github.com/repos/HackSoftware/Odin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HackSoftware/Odin/statuses/{sha}","languages_url":"https://api.github.com/repos/HackSoftware/Odin/languages","stargazers_url":"https://api.github.com/repos/HackSoftware/Odin/stargazers","contributors_url":"https://api.github.com/repos/HackSoftware/Odin/contributors","subscribers_url":"https://api.github.com/repos/HackSoftware/Odin/subscribers","subscription_url":"https://api.github.com/repos/HackSoftware/Odin/subscription","commits_url":"https://api.github.com/repos/HackSoftware/Odin/commits{/sha}","git_commits_url":"https://api.github.com/repos/HackSoftware/Odin/git/commits{/sha}","comments_url":"https://api.github.com/repos/HackSoftware/Odin/comments{/number}","issue_comment_url":"https://api.github.com/repos/HackSoftware/Odin/issues/comments{/number}","contents_url":"https://api.github.com/repos/HackSoftware/Odin/contents/{+path}","compare_url":"https://api.github.com/repos/HackSoftware/Odin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HackSoftware/Odin/merges","archive_url":"https://api.github.com/repos/HackSoftware/Odin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HackSoftware/Odin/downloads","issues_url":"https://api.github.com/repos/HackSoftware/Odin/issues{/number}","pulls_url":"https://api.github.com/repos/HackSoftware/Odin/pulls{/number}","milestones_url":"https://api.github.com/repos/HackSoftware/Odin/milestones{/number}","notifications_url":"https://api.github.com/repos/HackSoftware/Odin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HackSoftware/Odin/labels{/name}","releases_url":"https://api.github.com/repos/HackSoftware/Odin/releases{/id}","deployments_url":"https://api.github.com/repos/HackSoftware/Odin/deployments","created_at":"2017-05-28T14:48:51Z","updated_at":"2018-03-25T20:41:32Z","pushed_at":"2018-03-25T21:00:56Z","git_url":"git://github.com/HackSoftware/Odin.git","ssh_url":"git@github.com:HackSoftware/Odin.git","clone_url":"https://github.com/HackSoftware/Odin.git","svn_url":"https://github.com/HackSoftware/Odin","homepage":"","size":1464,"stargazers_count":5,"watchers_count":5,"language":"Python","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":1,"license":null,"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"HackSoftware:master","ref":"master","sha":"14db63b22ecffe07dc264f30012152e665537f05","user":{"login":"HackSoftware","id":11139128,"avatar_url":"https://avatars1.githubusercontent.com/u/11139128?v=4","gravatar_id":"","url":"https://api.github.com/users/HackSoftware","html_url":"https://github.com/HackSoftware","followers_url":"https://api.github.com/users/HackSoftware/followers","following_url":"https://api.github.com/users/HackSoftware/following{/other_user}","gists_url":"https://api.github.com/users/HackSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoftware/subscriptions","organizations_url":"https://api.github.com/users/HackSoftware/orgs","repos_url":"https://api.github.com/users/HackSoftware/repos","events_url":"https://api.github.com/users/HackSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":92667396,"name":"Odin","full_name":"HackSoftware/Odin","owner":{"login":"HackSoftware","id":11139128,"avatar_url":"https://avatars1.githubusercontent.com/u/11139128?v=4","gravatar_id":"","url":"https://api.github.com/users/HackSoftware","html_url":"https://github.com/HackSoftware","followers_url":"https://api.github.com/users/HackSoftware/followers","following_url":"https://api.github.com/users/HackSoftware/following{/other_user}","gists_url":"https://api.github.com/users/HackSoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/HackSoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackSoftware/subscriptions","organizations_url":"https://api.github.com/users/HackSoftware/orgs","repos_url":"https://api.github.com/users/HackSoftware/repos","events_url":"https://api.github.com/users/HackSoftware/events{/privacy}","received_events_url":"https://api.github.com/users/HackSoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HackSoftware/Odin","description":"Learning management system for HackBulgaria / HackSoft Academy","fork":false,"url":"https://api.github.com/repos/HackSoftware/Odin","forks_url":"https://api.github.com/repos/HackSoftware/Odin/forks","keys_url":"https://api.github.com/repos/HackSoftware/Odin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HackSoftware/Odin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HackSoftware/Odin/teams","hooks_url":"https://api.github.com/repos/HackSoftware/Odin/hooks","issue_events_url":"https://api.github.com/repos/HackSoftware/Odin/issues/events{/number}","events_url":"https://api.github.com/repos/HackSoftware/Odin/events","assignees_url":"https://api.github.com/repos/HackSoftware/Odin/assignees{/user}","branches_url":"https://api.github.com/repos/HackSoftware/Odin/branches{/branch}","tags_url":"https://api.github.com/repos/HackSoftware/Odin/tags","blobs_url":"https://api.github.com/repos/HackSoftware/Odin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HackSoftware/Odin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HackSoftware/Odin/git/refs{/sha}","trees_url":"https://api.github.com/repos/HackSoftware/Odin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HackSoftware/Odin/statuses/{sha}","languages_url":"https://api.github.com/repos/HackSoftware/Odin/languages","stargazers_url":"https://api.github.com/repos/HackSoftware/Odin/stargazers","contributors_url":"https://api.github.com/repos/HackSoftware/Odin/contributors","subscribers_url":"https://api.github.com/repos/HackSoftware/Odin/subscribers","subscription_url":"https://api.github.com/repos/HackSoftware/Odin/subscription","commits_url":"https://api.github.com/repos/HackSoftware/Odin/commits{/sha}","git_commits_url":"https://api.github.com/repos/HackSoftware/Odin/git/commits{/sha}","comments_url":"https://api.github.com/repos/HackSoftware/Odin/comments{/number}","issue_comment_url":"https://api.github.com/repos/HackSoftware/Odin/issues/comments{/number}","contents_url":"https://api.github.com/repos/HackSoftware/Odin/contents/{+path}","compare_url":"https://api.github.com/repos/HackSoftware/Odin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HackSoftware/Odin/merges","archive_url":"https://api.github.com/repos/HackSoftware/Odin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HackSoftware/Odin/downloads","issues_url":"https://api.github.com/repos/HackSoftware/Odin/issues{/number}","pulls_url":"https://api.github.com/repos/HackSoftware/Odin/pulls{/number}","milestones_url":"https://api.github.com/repos/HackSoftware/Odin/milestones{/number}","notifications_url":"https://api.github.com/repos/HackSoftware/Odin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HackSoftware/Odin/labels{/name}","releases_url":"https://api.github.com/repos/HackSoftware/Odin/releases{/id}","deployments_url":"https://api.github.com/repos/HackSoftware/Odin/deployments","created_at":"2017-05-28T14:48:51Z","updated_at":"2018-03-25T20:41:32Z","pushed_at":"2018-03-25T21:00:56Z","git_url":"git://github.com/HackSoftware/Odin.git","ssh_url":"git@github.com:HackSoftware/Odin.git","clone_url":"https://github.com/HackSoftware/Odin.git","svn_url":"https://github.com/HackSoftware/Odin","homepage":"","size":1464,"stargazers_count":5,"watchers_count":5,"language":"Python","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":1,"license":null,"forks":0,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/74"},"html":{"href":"https://github.com/HackSoftware/Odin/pull/74"},"issue":{"href":"https://api.github.com/repos/HackSoftware/Odin/issues/74"},"comments":{"href":"https://api.github.com/repos/HackSoftware/Odin/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HackSoftware/Odin/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/HackSoftware/Odin/statuses/2a6f9117417ed1691d01e1a0c588986fdd18c844"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"yaggul"}}