{"action":"created","comment":{"url":"https://api.github.com/repos/blstream/ut-arena/pulls/comments/56131985","id":56131985,"diff_hunk":"@@ -9,3 +9,13 @@\n \n class Player(models.Model):\n     user = models.OneToOneField(User, on_delete=models.CASCADE)\n+\n+\n+class Game(models.Model):\n+    start_date = models.DateTimeField()\n+    time_limit = models.IntegerField()\n+    map_name = models.CharField(max_length=64)\n+    match_type = models.CharField(max_length=32)\n+    created_at = models.DateTimeField(auto_now_add=True)\n+    updated_at = models.DateTimeField(auto_now=True)\n+    created_by = models.ForeignKey(User, null=False)","path":"ut_arena_py_api/apps/utarena/models.py","position":13,"original_position":13,"commit_id":"4166f2f9b677f78f123df7091da340d48b4ceb86","original_commit_id":"4166f2f9b677f78f123df7091da340d48b4ceb86","user":{"login":"lahim","id":3089106,"avatar_url":"https://avatars.githubusercontent.com/u/3089106?v=3","gravatar_id":"","url":"https://api.github.com/users/lahim","html_url":"https://github.com/lahim","followers_url":"https://api.github.com/users/lahim/followers","following_url":"https://api.github.com/users/lahim/following{/other_user}","gists_url":"https://api.github.com/users/lahim/gists{/gist_id}","starred_url":"https://api.github.com/users/lahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahim/subscriptions","organizations_url":"https://api.github.com/users/lahim/orgs","repos_url":"https://api.github.com/users/lahim/repos","events_url":"https://api.github.com/users/lahim/events{/privacy}","received_events_url":"https://api.github.com/users/lahim/received_events","type":"User","site_admin":false},"body":"related_name is missed - how can I fetch all created games by selected user?","created_at":"2016-03-15T09:02:01Z","updated_at":"2016-03-15T09:02:01Z","html_url":"https://github.com/blstream/ut-arena/pull/30#discussion_r56131985","pull_request_url":"https://api.github.com/repos/blstream/ut-arena/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/comments/56131985"},"html":{"href":"https://github.com/blstream/ut-arena/pull/30#discussion_r56131985"},"pull_request":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/blstream/ut-arena/pulls/30","id":62870035,"html_url":"https://github.com/blstream/ut-arena/pull/30","diff_url":"https://github.com/blstream/ut-arena/pull/30.diff","patch_url":"https://github.com/blstream/ut-arena/pull/30.patch","issue_url":"https://api.github.com/repos/blstream/ut-arena/issues/30","number":30,"state":"open","locked":false,"title":"Django games","user":{"login":"krzyszti","id":11161794,"avatar_url":"https://avatars.githubusercontent.com/u/11161794?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyszti","html_url":"https://github.com/krzyszti","followers_url":"https://api.github.com/users/krzyszti/followers","following_url":"https://api.github.com/users/krzyszti/following{/other_user}","gists_url":"https://api.github.com/users/krzyszti/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyszti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyszti/subscriptions","organizations_url":"https://api.github.com/users/krzyszti/orgs","repos_url":"https://api.github.com/users/krzyszti/repos","events_url":"https://api.github.com/users/krzyszti/events{/privacy}","received_events_url":"https://api.github.com/users/krzyszti/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-15T08:32:11Z","updated_at":"2016-03-15T09:02:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b130f8b7ed0de24e98b3d37369ae27c44c3d93ac","assignee":{"login":"lahim","id":3089106,"avatar_url":"https://avatars.githubusercontent.com/u/3089106?v=3","gravatar_id":"","url":"https://api.github.com/users/lahim","html_url":"https://github.com/lahim","followers_url":"https://api.github.com/users/lahim/followers","following_url":"https://api.github.com/users/lahim/following{/other_user}","gists_url":"https://api.github.com/users/lahim/gists{/gist_id}","starred_url":"https://api.github.com/users/lahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahim/subscriptions","organizations_url":"https://api.github.com/users/lahim/orgs","repos_url":"https://api.github.com/users/lahim/repos","events_url":"https://api.github.com/users/lahim/events{/privacy}","received_events_url":"https://api.github.com/users/lahim/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/blstream/ut-arena/pulls/30/commits","review_comments_url":"https://api.github.com/repos/blstream/ut-arena/pulls/30/comments","review_comment_url":"https://api.github.com/repos/blstream/ut-arena/pulls/comments{/number}","comments_url":"https://api.github.com/repos/blstream/ut-arena/issues/30/comments","statuses_url":"https://api.github.com/repos/blstream/ut-arena/statuses/4166f2f9b677f78f123df7091da340d48b4ceb86","head":{"label":"blstream:django-games","ref":"django-games","sha":"4166f2f9b677f78f123df7091da340d48b4ceb86","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":50916793,"name":"ut-arena","full_name":"blstream/ut-arena","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/ut-arena","description":"Urban Terror Arena","fork":false,"url":"https://api.github.com/repos/blstream/ut-arena","forks_url":"https://api.github.com/repos/blstream/ut-arena/forks","keys_url":"https://api.github.com/repos/blstream/ut-arena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/ut-arena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/ut-arena/teams","hooks_url":"https://api.github.com/repos/blstream/ut-arena/hooks","issue_events_url":"https://api.github.com/repos/blstream/ut-arena/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/ut-arena/events","assignees_url":"https://api.github.com/repos/blstream/ut-arena/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/ut-arena/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/ut-arena/tags","blobs_url":"https://api.github.com/repos/blstream/ut-arena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/ut-arena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/ut-arena/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/ut-arena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/ut-arena/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/ut-arena/languages","stargazers_url":"https://api.github.com/repos/blstream/ut-arena/stargazers","contributors_url":"https://api.github.com/repos/blstream/ut-arena/contributors","subscribers_url":"https://api.github.com/repos/blstream/ut-arena/subscribers","subscription_url":"https://api.github.com/repos/blstream/ut-arena/subscription","commits_url":"https://api.github.com/repos/blstream/ut-arena/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/ut-arena/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/ut-arena/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/ut-arena/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/ut-arena/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/ut-arena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/ut-arena/merges","archive_url":"https://api.github.com/repos/blstream/ut-arena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/ut-arena/downloads","issues_url":"https://api.github.com/repos/blstream/ut-arena/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/ut-arena/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/ut-arena/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/ut-arena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/ut-arena/labels{/name}","releases_url":"https://api.github.com/repos/blstream/ut-arena/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/ut-arena/deployments","created_at":"2016-02-02T11:46:52Z","updated_at":"2016-02-03T12:02:53Z","pushed_at":"2016-03-15T08:32:12Z","git_url":"git://github.com/blstream/ut-arena.git","ssh_url":"git@github.com:blstream/ut-arena.git","clone_url":"https://github.com/blstream/ut-arena.git","svn_url":"https://github.com/blstream/ut-arena","homepage":null,"size":27655,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"blstream:master","ref":"master","sha":"caa6d7bde152cd508b60da2d3e22e99908d84d1e","user":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"repo":{"id":50916793,"name":"ut-arena","full_name":"blstream/ut-arena","owner":{"login":"blstream","id":316451,"avatar_url":"https://avatars.githubusercontent.com/u/316451?v=3","gravatar_id":"","url":"https://api.github.com/users/blstream","html_url":"https://github.com/blstream","followers_url":"https://api.github.com/users/blstream/followers","following_url":"https://api.github.com/users/blstream/following{/other_user}","gists_url":"https://api.github.com/users/blstream/gists{/gist_id}","starred_url":"https://api.github.com/users/blstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blstream/subscriptions","organizations_url":"https://api.github.com/users/blstream/orgs","repos_url":"https://api.github.com/users/blstream/repos","events_url":"https://api.github.com/users/blstream/events{/privacy}","received_events_url":"https://api.github.com/users/blstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/blstream/ut-arena","description":"Urban Terror Arena","fork":false,"url":"https://api.github.com/repos/blstream/ut-arena","forks_url":"https://api.github.com/repos/blstream/ut-arena/forks","keys_url":"https://api.github.com/repos/blstream/ut-arena/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blstream/ut-arena/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blstream/ut-arena/teams","hooks_url":"https://api.github.com/repos/blstream/ut-arena/hooks","issue_events_url":"https://api.github.com/repos/blstream/ut-arena/issues/events{/number}","events_url":"https://api.github.com/repos/blstream/ut-arena/events","assignees_url":"https://api.github.com/repos/blstream/ut-arena/assignees{/user}","branches_url":"https://api.github.com/repos/blstream/ut-arena/branches{/branch}","tags_url":"https://api.github.com/repos/blstream/ut-arena/tags","blobs_url":"https://api.github.com/repos/blstream/ut-arena/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blstream/ut-arena/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blstream/ut-arena/git/refs{/sha}","trees_url":"https://api.github.com/repos/blstream/ut-arena/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blstream/ut-arena/statuses/{sha}","languages_url":"https://api.github.com/repos/blstream/ut-arena/languages","stargazers_url":"https://api.github.com/repos/blstream/ut-arena/stargazers","contributors_url":"https://api.github.com/repos/blstream/ut-arena/contributors","subscribers_url":"https://api.github.com/repos/blstream/ut-arena/subscribers","subscription_url":"https://api.github.com/repos/blstream/ut-arena/subscription","commits_url":"https://api.github.com/repos/blstream/ut-arena/commits{/sha}","git_commits_url":"https://api.github.com/repos/blstream/ut-arena/git/commits{/sha}","comments_url":"https://api.github.com/repos/blstream/ut-arena/comments{/number}","issue_comment_url":"https://api.github.com/repos/blstream/ut-arena/issues/comments{/number}","contents_url":"https://api.github.com/repos/blstream/ut-arena/contents/{+path}","compare_url":"https://api.github.com/repos/blstream/ut-arena/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blstream/ut-arena/merges","archive_url":"https://api.github.com/repos/blstream/ut-arena/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blstream/ut-arena/downloads","issues_url":"https://api.github.com/repos/blstream/ut-arena/issues{/number}","pulls_url":"https://api.github.com/repos/blstream/ut-arena/pulls{/number}","milestones_url":"https://api.github.com/repos/blstream/ut-arena/milestones{/number}","notifications_url":"https://api.github.com/repos/blstream/ut-arena/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blstream/ut-arena/labels{/name}","releases_url":"https://api.github.com/repos/blstream/ut-arena/releases{/id}","deployments_url":"https://api.github.com/repos/blstream/ut-arena/deployments","created_at":"2016-02-02T11:46:52Z","updated_at":"2016-02-03T12:02:53Z","pushed_at":"2016-03-15T08:32:12Z","git_url":"git://github.com/blstream/ut-arena.git","ssh_url":"git@github.com:blstream/ut-arena.git","clone_url":"https://github.com/blstream/ut-arena.git","svn_url":"https://github.com/blstream/ut-arena","homepage":null,"size":27655,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/30"},"html":{"href":"https://github.com/blstream/ut-arena/pull/30"},"issue":{"href":"https://api.github.com/repos/blstream/ut-arena/issues/30"},"comments":{"href":"https://api.github.com/repos/blstream/ut-arena/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/blstream/ut-arena/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/blstream/ut-arena/statuses/4166f2f9b677f78f123df7091da340d48b4ceb86"}}}}