{"action":"created","comment":{"url":"https://api.github.com/repos/laws-africa/indigo/pulls/comments/241377481","pull_request_review_id":184632474,"id":241377481,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTM3NzQ4MQ==","diff_hunk":"@@ -32,7 +33,25 @@ class TaskListView(TaskViewBase, ListView):\n     paginate_orphans = 4\n \n     def get_queryset(self):\n-        return Task.objects.filter(country=self.country, locality=self.locality).order_by('-created_at')\n+        try:\n+            frbr_uri = self.request.GET['frbr_uri']","path":"indigo_app/views/tasks.py","position":14,"original_position":14,"commit_id":"fe262406ca7f3aef72933ff29ca3463472e580c4","original_commit_id":"fe262406ca7f3aef72933ff29ca3463472e580c4","user":{"login":"longhotsummer","id":4178542,"node_id":"MDQ6VXNlcjQxNzg1NDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4178542?v=4","gravatar_id":"","url":"https://api.github.com/users/longhotsummer","html_url":"https://github.com/longhotsummer","followers_url":"https://api.github.com/users/longhotsummer/followers","following_url":"https://api.github.com/users/longhotsummer/following{/other_user}","gists_url":"https://api.github.com/users/longhotsummer/gists{/gist_id}","starred_url":"https://api.github.com/users/longhotsummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longhotsummer/subscriptions","organizations_url":"https://api.github.com/users/longhotsummer/orgs","repos_url":"https://api.github.com/users/longhotsummer/repos","events_url":"https://api.github.com/users/longhotsummer/events{/privacy}","received_events_url":"https://api.github.com/users/longhotsummer/received_events","type":"User","site_admin":false},"body":"Much like with a `dict`, you can use `self.request.GET.get('frbr_uri')` which returns None if the key doesn't exist in the dict, rather than raise an exception.","created_at":"2018-12-13T12:15:50Z","updated_at":"2018-12-13T12:15:50Z","html_url":"https://github.com/laws-africa/indigo/pull/312#discussion_r241377481","pull_request_url":"https://api.github.com/repos/laws-africa/indigo/pulls/312","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/comments/241377481"},"html":{"href":"https://github.com/laws-africa/indigo/pull/312#discussion_r241377481"},"pull_request":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/312"}}},"pull_request":{"url":"https://api.github.com/repos/laws-africa/indigo/pulls/312","id":238364070,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MzY0MDcw","html_url":"https://github.com/laws-africa/indigo/pull/312","diff_url":"https://github.com/laws-africa/indigo/pull/312.diff","patch_url":"https://github.com/laws-africa/indigo/pull/312.patch","issue_url":"https://api.github.com/repos/laws-africa/indigo/issues/312","number":312,"state":"open","locked":false,"title":"Tasks list WIP","user":{"login":"goose-life","id":32566441,"node_id":"MDQ6VXNlcjMyNTY2NDQx","avatar_url":"https://avatars1.githubusercontent.com/u/32566441?v=4","gravatar_id":"","url":"https://api.github.com/users/goose-life","html_url":"https://github.com/goose-life","followers_url":"https://api.github.com/users/goose-life/followers","following_url":"https://api.github.com/users/goose-life/following{/other_user}","gists_url":"https://api.github.com/users/goose-life/gists{/gist_id}","starred_url":"https://api.github.com/users/goose-life/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goose-life/subscriptions","organizations_url":"https://api.github.com/users/goose-life/orgs","repos_url":"https://api.github.com/users/goose-life/repos","events_url":"https://api.github.com/users/goose-life/events{/privacy}","received_events_url":"https://api.github.com/users/goose-life/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-13T11:59:59Z","updated_at":"2018-12-13T12:15:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1f0b021313e7ad2b4095d8f1c5068961fcc17c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1003713893,"node_id":"MDU6TGFiZWwxMDAzNzEzODkz","url":"https://api.github.com/repos/laws-africa/indigo/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/laws-africa/indigo/pulls/312/commits","review_comments_url":"https://api.github.com/repos/laws-africa/indigo/pulls/312/comments","review_comment_url":"https://api.github.com/repos/laws-africa/indigo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laws-africa/indigo/issues/312/comments","statuses_url":"https://api.github.com/repos/laws-africa/indigo/statuses/fe262406ca7f3aef72933ff29ca3463472e580c4","head":{"label":"laws-africa:tasks-list","ref":"tasks-list","sha":"fe262406ca7f3aef72933ff29ca3463472e580c4","user":{"login":"laws-africa","id":41122880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTIyODgw","avatar_url":"https://avatars0.githubusercontent.com/u/41122880?v=4","gravatar_id":"","url":"https://api.github.com/users/laws-africa","html_url":"https://github.com/laws-africa","followers_url":"https://api.github.com/users/laws-africa/followers","following_url":"https://api.github.com/users/laws-africa/following{/other_user}","gists_url":"https://api.github.com/users/laws-africa/gists{/gist_id}","starred_url":"https://api.github.com/users/laws-africa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laws-africa/subscriptions","organizations_url":"https://api.github.com/users/laws-africa/orgs","repos_url":"https://api.github.com/users/laws-africa/repos","events_url":"https://api.github.com/users/laws-africa/events{/privacy}","received_events_url":"https://api.github.com/users/laws-africa/received_events","type":"Organization","site_admin":false},"repo":{"id":29293050,"node_id":"MDEwOlJlcG9zaXRvcnkyOTI5MzA1MA==","name":"indigo","full_name":"laws-africa/indigo","private":false,"owner":{"login":"laws-africa","id":41122880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTIyODgw","avatar_url":"https://avatars0.githubusercontent.com/u/41122880?v=4","gravatar_id":"","url":"https://api.github.com/users/laws-africa","html_url":"https://github.com/laws-africa","followers_url":"https://api.github.com/users/laws-africa/followers","following_url":"https://api.github.com/users/laws-africa/following{/other_user}","gists_url":"https://api.github.com/users/laws-africa/gists{/gist_id}","starred_url":"https://api.github.com/users/laws-africa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laws-africa/subscriptions","organizations_url":"https://api.github.com/users/laws-africa/orgs","repos_url":"https://api.github.com/users/laws-africa/repos","events_url":"https://api.github.com/users/laws-africa/events{/privacy}","received_events_url":"https://api.github.com/users/laws-africa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/laws-africa/indigo","description":"Indigo Platform for publishing beautiful legislation.","fork":false,"url":"https://api.github.com/repos/laws-africa/indigo","forks_url":"https://api.github.com/repos/laws-africa/indigo/forks","keys_url":"https://api.github.com/repos/laws-africa/indigo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laws-africa/indigo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laws-africa/indigo/teams","hooks_url":"https://api.github.com/repos/laws-africa/indigo/hooks","issue_events_url":"https://api.github.com/repos/laws-africa/indigo/issues/events{/number}","events_url":"https://api.github.com/repos/laws-africa/indigo/events","assignees_url":"https://api.github.com/repos/laws-africa/indigo/assignees{/user}","branches_url":"https://api.github.com/repos/laws-africa/indigo/branches{/branch}","tags_url":"https://api.github.com/repos/laws-africa/indigo/tags","blobs_url":"https://api.github.com/repos/laws-africa/indigo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laws-africa/indigo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laws-africa/indigo/git/refs{/sha}","trees_url":"https://api.github.com/repos/laws-africa/indigo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laws-africa/indigo/statuses/{sha}","languages_url":"https://api.github.com/repos/laws-africa/indigo/languages","stargazers_url":"https://api.github.com/repos/laws-africa/indigo/stargazers","contributors_url":"https://api.github.com/repos/laws-africa/indigo/contributors","subscribers_url":"https://api.github.com/repos/laws-africa/indigo/subscribers","subscription_url":"https://api.github.com/repos/laws-africa/indigo/subscription","commits_url":"https://api.github.com/repos/laws-africa/indigo/commits{/sha}","git_commits_url":"https://api.github.com/repos/laws-africa/indigo/git/commits{/sha}","comments_url":"https://api.github.com/repos/laws-africa/indigo/comments{/number}","issue_comment_url":"https://api.github.com/repos/laws-africa/indigo/issues/comments{/number}","contents_url":"https://api.github.com/repos/laws-africa/indigo/contents/{+path}","compare_url":"https://api.github.com/repos/laws-africa/indigo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laws-africa/indigo/merges","archive_url":"https://api.github.com/repos/laws-africa/indigo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laws-africa/indigo/downloads","issues_url":"https://api.github.com/repos/laws-africa/indigo/issues{/number}","pulls_url":"https://api.github.com/repos/laws-africa/indigo/pulls{/number}","milestones_url":"https://api.github.com/repos/laws-africa/indigo/milestones{/number}","notifications_url":"https://api.github.com/repos/laws-africa/indigo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laws-africa/indigo/labels{/name}","releases_url":"https://api.github.com/repos/laws-africa/indigo/releases{/id}","deployments_url":"https://api.github.com/repos/laws-africa/indigo/deployments","created_at":"2015-01-15T10:50:36Z","updated_at":"2018-12-13T10:40:28Z","pushed_at":"2018-12-13T12:08:04Z","git_url":"git://github.com/laws-africa/indigo.git","ssh_url":"git@github.com:laws-africa/indigo.git","clone_url":"https://github.com/laws-africa/indigo.git","svn_url":"https://github.com/laws-africa/indigo","homepage":"https://laws.africa/indigo","size":18115,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":72,"watchers":23,"default_branch":"master"}},"base":{"label":"laws-africa:master","ref":"master","sha":"4ad1decaf2bdd8d424aaff12b903a33f4eed341d","user":{"login":"laws-africa","id":41122880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTIyODgw","avatar_url":"https://avatars0.githubusercontent.com/u/41122880?v=4","gravatar_id":"","url":"https://api.github.com/users/laws-africa","html_url":"https://github.com/laws-africa","followers_url":"https://api.github.com/users/laws-africa/followers","following_url":"https://api.github.com/users/laws-africa/following{/other_user}","gists_url":"https://api.github.com/users/laws-africa/gists{/gist_id}","starred_url":"https://api.github.com/users/laws-africa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laws-africa/subscriptions","organizations_url":"https://api.github.com/users/laws-africa/orgs","repos_url":"https://api.github.com/users/laws-africa/repos","events_url":"https://api.github.com/users/laws-africa/events{/privacy}","received_events_url":"https://api.github.com/users/laws-africa/received_events","type":"Organization","site_admin":false},"repo":{"id":29293050,"node_id":"MDEwOlJlcG9zaXRvcnkyOTI5MzA1MA==","name":"indigo","full_name":"laws-africa/indigo","private":false,"owner":{"login":"laws-africa","id":41122880,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMTIyODgw","avatar_url":"https://avatars0.githubusercontent.com/u/41122880?v=4","gravatar_id":"","url":"https://api.github.com/users/laws-africa","html_url":"https://github.com/laws-africa","followers_url":"https://api.github.com/users/laws-africa/followers","following_url":"https://api.github.com/users/laws-africa/following{/other_user}","gists_url":"https://api.github.com/users/laws-africa/gists{/gist_id}","starred_url":"https://api.github.com/users/laws-africa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laws-africa/subscriptions","organizations_url":"https://api.github.com/users/laws-africa/orgs","repos_url":"https://api.github.com/users/laws-africa/repos","events_url":"https://api.github.com/users/laws-africa/events{/privacy}","received_events_url":"https://api.github.com/users/laws-africa/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/laws-africa/indigo","description":"Indigo Platform for publishing beautiful legislation.","fork":false,"url":"https://api.github.com/repos/laws-africa/indigo","forks_url":"https://api.github.com/repos/laws-africa/indigo/forks","keys_url":"https://api.github.com/repos/laws-africa/indigo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laws-africa/indigo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laws-africa/indigo/teams","hooks_url":"https://api.github.com/repos/laws-africa/indigo/hooks","issue_events_url":"https://api.github.com/repos/laws-africa/indigo/issues/events{/number}","events_url":"https://api.github.com/repos/laws-africa/indigo/events","assignees_url":"https://api.github.com/repos/laws-africa/indigo/assignees{/user}","branches_url":"https://api.github.com/repos/laws-africa/indigo/branches{/branch}","tags_url":"https://api.github.com/repos/laws-africa/indigo/tags","blobs_url":"https://api.github.com/repos/laws-africa/indigo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laws-africa/indigo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laws-africa/indigo/git/refs{/sha}","trees_url":"https://api.github.com/repos/laws-africa/indigo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laws-africa/indigo/statuses/{sha}","languages_url":"https://api.github.com/repos/laws-africa/indigo/languages","stargazers_url":"https://api.github.com/repos/laws-africa/indigo/stargazers","contributors_url":"https://api.github.com/repos/laws-africa/indigo/contributors","subscribers_url":"https://api.github.com/repos/laws-africa/indigo/subscribers","subscription_url":"https://api.github.com/repos/laws-africa/indigo/subscription","commits_url":"https://api.github.com/repos/laws-africa/indigo/commits{/sha}","git_commits_url":"https://api.github.com/repos/laws-africa/indigo/git/commits{/sha}","comments_url":"https://api.github.com/repos/laws-africa/indigo/comments{/number}","issue_comment_url":"https://api.github.com/repos/laws-africa/indigo/issues/comments{/number}","contents_url":"https://api.github.com/repos/laws-africa/indigo/contents/{+path}","compare_url":"https://api.github.com/repos/laws-africa/indigo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laws-africa/indigo/merges","archive_url":"https://api.github.com/repos/laws-africa/indigo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laws-africa/indigo/downloads","issues_url":"https://api.github.com/repos/laws-africa/indigo/issues{/number}","pulls_url":"https://api.github.com/repos/laws-africa/indigo/pulls{/number}","milestones_url":"https://api.github.com/repos/laws-africa/indigo/milestones{/number}","notifications_url":"https://api.github.com/repos/laws-africa/indigo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laws-africa/indigo/labels{/name}","releases_url":"https://api.github.com/repos/laws-africa/indigo/releases{/id}","deployments_url":"https://api.github.com/repos/laws-africa/indigo/deployments","created_at":"2015-01-15T10:50:36Z","updated_at":"2018-12-13T10:40:28Z","pushed_at":"2018-12-13T12:08:04Z","git_url":"git://github.com/laws-africa/indigo.git","ssh_url":"git@github.com:laws-africa/indigo.git","clone_url":"https://github.com/laws-africa/indigo.git","svn_url":"https://github.com/laws-africa/indigo","homepage":"https://laws.africa/indigo","size":18115,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":72,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":8,"open_issues":72,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/312"},"html":{"href":"https://github.com/laws-africa/indigo/pull/312"},"issue":{"href":"https://api.github.com/repos/laws-africa/indigo/issues/312"},"comments":{"href":"https://api.github.com/repos/laws-africa/indigo/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laws-africa/indigo/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/laws-africa/indigo/statuses/fe262406ca7f3aef72933ff29ca3463472e580c4"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"longhotsummer"}}