{"action":"created","comment":{"url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/comments/37979480","id":37979480,"diff_hunk":"@@ -79,6 +79,10 @@ def delete_detail(self, object_list, bundle):\n     return self.check_access(bundle) \n \n \n+class TrashAuthorization(Authorization):\n+  pass","path":"items/resources.py","position":5,"original_position":5,"commit_id":"686ba80a3b3ae5ac89cb50e1464d0d95329caf4e","original_commit_id":"686ba80a3b3ae5ac89cb50e1464d0d95329caf4e","user":{"login":"alekseyC64","id":4508216,"avatar_url":"https://avatars.githubusercontent.com/u/4508216?v=3","gravatar_id":"","url":"https://api.github.com/users/alekseyC64","html_url":"https://github.com/alekseyC64","followers_url":"https://api.github.com/users/alekseyC64/followers","following_url":"https://api.github.com/users/alekseyC64/following{/other_user}","gists_url":"https://api.github.com/users/alekseyC64/gists{/gist_id}","starred_url":"https://api.github.com/users/alekseyC64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alekseyC64/subscriptions","organizations_url":"https://api.github.com/users/alekseyC64/orgs","repos_url":"https://api.github.com/users/alekseyC64/repos","events_url":"https://api.github.com/users/alekseyC64/events{/privacy}","received_events_url":"https://api.github.com/users/alekseyC64/received_events","type":"User","site_admin":false},"body":"if it's empty, maybe you can omit `authorization = TrashAuthorization()` and remove the dummy?","created_at":"2015-08-26T13:17:24Z","updated_at":"2015-08-26T13:17:24Z","html_url":"https://github.com/NikitaSedyx/todo-dj/pull/30#discussion_r37979480","pull_request_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/comments/37979480"},"html":{"href":"https://github.com/NikitaSedyx/todo-dj/pull/30#discussion_r37979480"},"pull_request":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30","id":43382537,"html_url":"https://github.com/NikitaSedyx/todo-dj/pull/30","diff_url":"https://github.com/NikitaSedyx/todo-dj/pull/30.diff","patch_url":"https://github.com/NikitaSedyx/todo-dj/pull/30.patch","issue_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/30","number":30,"state":"open","locked":false,"title":"add trash resource","user":{"login":"NikitaSedyx","id":12440608,"avatar_url":"https://avatars.githubusercontent.com/u/12440608?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaSedyx","html_url":"https://github.com/NikitaSedyx","followers_url":"https://api.github.com/users/NikitaSedyx/followers","following_url":"https://api.github.com/users/NikitaSedyx/following{/other_user}","gists_url":"https://api.github.com/users/NikitaSedyx/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaSedyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaSedyx/subscriptions","organizations_url":"https://api.github.com/users/NikitaSedyx/orgs","repos_url":"https://api.github.com/users/NikitaSedyx/repos","events_url":"https://api.github.com/users/NikitaSedyx/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaSedyx/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-26T09:42:39Z","updated_at":"2015-08-26T13:17:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42ffbfb0f5941c21e6b3477b0ba4506b93eacf6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30/commits","review_comments_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30/comments","review_comment_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/30/comments","statuses_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/statuses/686ba80a3b3ae5ac89cb50e1464d0d95329caf4e","head":{"label":"NikitaSedyx:add_trash_resource","ref":"add_trash_resource","sha":"686ba80a3b3ae5ac89cb50e1464d0d95329caf4e","user":{"login":"NikitaSedyx","id":12440608,"avatar_url":"https://avatars.githubusercontent.com/u/12440608?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaSedyx","html_url":"https://github.com/NikitaSedyx","followers_url":"https://api.github.com/users/NikitaSedyx/followers","following_url":"https://api.github.com/users/NikitaSedyx/following{/other_user}","gists_url":"https://api.github.com/users/NikitaSedyx/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaSedyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaSedyx/subscriptions","organizations_url":"https://api.github.com/users/NikitaSedyx/orgs","repos_url":"https://api.github.com/users/NikitaSedyx/repos","events_url":"https://api.github.com/users/NikitaSedyx/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaSedyx/received_events","type":"User","site_admin":false},"repo":{"id":38311530,"name":"todo-dj","full_name":"NikitaSedyx/todo-dj","owner":{"login":"NikitaSedyx","id":12440608,"avatar_url":"https://avatars.githubusercontent.com/u/12440608?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaSedyx","html_url":"https://github.com/NikitaSedyx","followers_url":"https://api.github.com/users/NikitaSedyx/followers","following_url":"https://api.github.com/users/NikitaSedyx/following{/other_user}","gists_url":"https://api.github.com/users/NikitaSedyx/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaSedyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaSedyx/subscriptions","organizations_url":"https://api.github.com/users/NikitaSedyx/orgs","repos_url":"https://api.github.com/users/NikitaSedyx/repos","events_url":"https://api.github.com/users/NikitaSedyx/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaSedyx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikitaSedyx/todo-dj","description":"","fork":false,"url":"https://api.github.com/repos/NikitaSedyx/todo-dj","forks_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/forks","keys_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/teams","hooks_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/hooks","issue_events_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/events{/number}","events_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/events","assignees_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/assignees{/user}","branches_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/branches{/branch}","tags_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/tags","blobs_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/statuses/{sha}","languages_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/languages","stargazers_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/stargazers","contributors_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/contributors","subscribers_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/subscribers","subscription_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/subscription","commits_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/contents/{+path}","compare_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/merges","archive_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/downloads","issues_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues{/number}","pulls_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls{/number}","milestones_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/milestones{/number}","notifications_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/labels{/name}","releases_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/releases{/id}","created_at":"2015-06-30T13:43:48Z","updated_at":"2015-07-07T09:18:27Z","pushed_at":"2015-08-26T11:44:57Z","git_url":"git://github.com/NikitaSedyx/todo-dj.git","ssh_url":"git@github.com:NikitaSedyx/todo-dj.git","clone_url":"https://github.com/NikitaSedyx/todo-dj.git","svn_url":"https://github.com/NikitaSedyx/todo-dj","homepage":null,"size":2692,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"NikitaSedyx:master","ref":"master","sha":"cbb3f1ddf669a605768464a292d814fae376767f","user":{"login":"NikitaSedyx","id":12440608,"avatar_url":"https://avatars.githubusercontent.com/u/12440608?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaSedyx","html_url":"https://github.com/NikitaSedyx","followers_url":"https://api.github.com/users/NikitaSedyx/followers","following_url":"https://api.github.com/users/NikitaSedyx/following{/other_user}","gists_url":"https://api.github.com/users/NikitaSedyx/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaSedyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaSedyx/subscriptions","organizations_url":"https://api.github.com/users/NikitaSedyx/orgs","repos_url":"https://api.github.com/users/NikitaSedyx/repos","events_url":"https://api.github.com/users/NikitaSedyx/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaSedyx/received_events","type":"User","site_admin":false},"repo":{"id":38311530,"name":"todo-dj","full_name":"NikitaSedyx/todo-dj","owner":{"login":"NikitaSedyx","id":12440608,"avatar_url":"https://avatars.githubusercontent.com/u/12440608?v=3","gravatar_id":"","url":"https://api.github.com/users/NikitaSedyx","html_url":"https://github.com/NikitaSedyx","followers_url":"https://api.github.com/users/NikitaSedyx/followers","following_url":"https://api.github.com/users/NikitaSedyx/following{/other_user}","gists_url":"https://api.github.com/users/NikitaSedyx/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaSedyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaSedyx/subscriptions","organizations_url":"https://api.github.com/users/NikitaSedyx/orgs","repos_url":"https://api.github.com/users/NikitaSedyx/repos","events_url":"https://api.github.com/users/NikitaSedyx/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaSedyx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NikitaSedyx/todo-dj","description":"","fork":false,"url":"https://api.github.com/repos/NikitaSedyx/todo-dj","forks_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/forks","keys_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/teams","hooks_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/hooks","issue_events_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/events{/number}","events_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/events","assignees_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/assignees{/user}","branches_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/branches{/branch}","tags_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/tags","blobs_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/refs{/sha}","trees_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/statuses/{sha}","languages_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/languages","stargazers_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/stargazers","contributors_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/contributors","subscribers_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/subscribers","subscription_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/subscription","commits_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/commits{/sha}","git_commits_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/git/commits{/sha}","comments_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/comments{/number}","issue_comment_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/comments{/number}","contents_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/contents/{+path}","compare_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/merges","archive_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/downloads","issues_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues{/number}","pulls_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls{/number}","milestones_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/milestones{/number}","notifications_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/labels{/name}","releases_url":"https://api.github.com/repos/NikitaSedyx/todo-dj/releases{/id}","created_at":"2015-06-30T13:43:48Z","updated_at":"2015-07-07T09:18:27Z","pushed_at":"2015-08-26T11:44:57Z","git_url":"git://github.com/NikitaSedyx/todo-dj.git","ssh_url":"git@github.com:NikitaSedyx/todo-dj.git","clone_url":"https://github.com/NikitaSedyx/todo-dj.git","svn_url":"https://github.com/NikitaSedyx/todo-dj","homepage":null,"size":2692,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30"},"html":{"href":"https://github.com/NikitaSedyx/todo-dj/pull/30"},"issue":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/30"},"comments":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/NikitaSedyx/todo-dj/statuses/686ba80a3b3ae5ac89cb50e1464d0d95329caf4e"}}}}