{"action":"created","comment":{"url":"https://api.github.com/repos/encode/django-rest-framework/pulls/comments/197580411","pull_request_review_id":131360231,"id":197580411,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzU4MDQxMQ==","diff_hunk":"@@ -1343,15 +1343,22 @@ def setup_class(cls):\n         cls.field = serializers.DateTimeField()\n         cls.kolkata = pytz.timezone('Asia/Kolkata')\n \n+    @staticmethod\n+    def is_utc(tz):\n+        \"\"\"Django 2.1 uses datetime.timezone.utc\n+\n+        Ref: https://github.com/django/django/pull/9484#issuecomment-399169042\"\"\"\n+        return tz.utcoffset(None).total_seconds() == 0.0","path":"tests/test_fields.py","position":9,"original_position":9,"commit_id":"ee29aa48eb71e0ea9afe9cd91cb0173eac9c1ebd","original_commit_id":"4081c77c0ca7eb62bb39d3e0d83e90c2be40e550","user":{"login":"rpkilby","id":2370209,"node_id":"MDQ6VXNlcjIzNzAyMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2370209?v=4","gravatar_id":"","url":"https://api.github.com/users/rpkilby","html_url":"https://github.com/rpkilby","followers_url":"https://api.github.com/users/rpkilby/followers","following_url":"https://api.github.com/users/rpkilby/following{/other_user}","gists_url":"https://api.github.com/users/rpkilby/gists{/gist_id}","starred_url":"https://api.github.com/users/rpkilby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpkilby/subscriptions","organizations_url":"https://api.github.com/users/rpkilby/orgs","repos_url":"https://api.github.com/users/rpkilby/repos","events_url":"https://api.github.com/users/rpkilby/events{/privacy}","received_events_url":"https://api.github.com/users/rpkilby/received_events","type":"User","site_admin":false},"body":"In retrospect, I don't think it's incredibly important to block this PR over the test code. It could be improved, but it's not worth blocking.","created_at":"2018-06-22T22:06:58Z","updated_at":"2018-06-22T22:06:58Z","html_url":"https://github.com/encode/django-rest-framework/pull/6044#discussion_r197580411","pull_request_url":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/comments/197580411"},"html":{"href":"https://github.com/encode/django-rest-framework/pull/6044#discussion_r197580411"},"pull_request":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044"}},"in_reply_to_id":197240612},"pull_request":{"url":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044","id":196531017,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NTMxMDE3","html_url":"https://github.com/encode/django-rest-framework/pull/6044","diff_url":"https://github.com/encode/django-rest-framework/pull/6044.diff","patch_url":"https://github.com/encode/django-rest-framework/pull/6044.patch","issue_url":"https://api.github.com/repos/encode/django-rest-framework/issues/6044","number":6044,"state":"open","locked":false,"title":"Fixes for Django 2.1","user":{"login":"blueyed","id":9766,"node_id":"MDQ6VXNlcjk3NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/9766?v=4","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"body":"~~Needs https://github.com/encode/django-rest-framework/pull/6043 also.~~","created_at":"2018-06-21T17:58:44Z","updated_at":"2018-06-22T22:06:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ada23b2cf92e9be9e1ffd558c995d76cf69d3ece","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044/commits","review_comments_url":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044/comments","review_comment_url":"https://api.github.com/repos/encode/django-rest-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/encode/django-rest-framework/issues/6044/comments","statuses_url":"https://api.github.com/repos/encode/django-rest-framework/statuses/ee29aa48eb71e0ea9afe9cd91cb0173eac9c1ebd","head":{"label":"blueyed:dj21","ref":"dj21","sha":"ee29aa48eb71e0ea9afe9cd91cb0173eac9c1ebd","user":{"login":"blueyed","id":9766,"node_id":"MDQ6VXNlcjk3NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/9766?v=4","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"repo":{"id":46719954,"node_id":"MDEwOlJlcG9zaXRvcnk0NjcxOTk1NA==","name":"django-rest-framework","full_name":"blueyed/django-rest-framework","owner":{"login":"blueyed","id":9766,"node_id":"MDQ6VXNlcjk3NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/9766?v=4","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blueyed/django-rest-framework","description":"Web APIs for Django.","fork":true,"url":"https://api.github.com/repos/blueyed/django-rest-framework","forks_url":"https://api.github.com/repos/blueyed/django-rest-framework/forks","keys_url":"https://api.github.com/repos/blueyed/django-rest-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blueyed/django-rest-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blueyed/django-rest-framework/teams","hooks_url":"https://api.github.com/repos/blueyed/django-rest-framework/hooks","issue_events_url":"https://api.github.com/repos/blueyed/django-rest-framework/issues/events{/number}","events_url":"https://api.github.com/repos/blueyed/django-rest-framework/events","assignees_url":"https://api.github.com/repos/blueyed/django-rest-framework/assignees{/user}","branches_url":"https://api.github.com/repos/blueyed/django-rest-framework/branches{/branch}","tags_url":"https://api.github.com/repos/blueyed/django-rest-framework/tags","blobs_url":"https://api.github.com/repos/blueyed/django-rest-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blueyed/django-rest-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blueyed/django-rest-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/blueyed/django-rest-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blueyed/django-rest-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/blueyed/django-rest-framework/languages","stargazers_url":"https://api.github.com/repos/blueyed/django-rest-framework/stargazers","contributors_url":"https://api.github.com/repos/blueyed/django-rest-framework/contributors","subscribers_url":"https://api.github.com/repos/blueyed/django-rest-framework/subscribers","subscription_url":"https://api.github.com/repos/blueyed/django-rest-framework/subscription","commits_url":"https://api.github.com/repos/blueyed/django-rest-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/blueyed/django-rest-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/blueyed/django-rest-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/blueyed/django-rest-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/blueyed/django-rest-framework/contents/{+path}","compare_url":"https://api.github.com/repos/blueyed/django-rest-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blueyed/django-rest-framework/merges","archive_url":"https://api.github.com/repos/blueyed/django-rest-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blueyed/django-rest-framework/downloads","issues_url":"https://api.github.com/repos/blueyed/django-rest-framework/issues{/number}","pulls_url":"https://api.github.com/repos/blueyed/django-rest-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/blueyed/django-rest-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/blueyed/django-rest-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blueyed/django-rest-framework/labels{/name}","releases_url":"https://api.github.com/repos/blueyed/django-rest-framework/releases{/id}","deployments_url":"https://api.github.com/repos/blueyed/django-rest-framework/deployments","created_at":"2015-11-23T12:50:48Z","updated_at":"2017-03-31T14:40:20Z","pushed_at":"2018-06-21T22:45:59Z","git_url":"git://github.com/blueyed/django-rest-framework.git","ssh_url":"git@github.com:blueyed/django-rest-framework.git","clone_url":"https://github.com/blueyed/django-rest-framework.git","svn_url":"https://github.com/blueyed/django-rest-framework","homepage":"www.django-rest-framework.org","size":29311,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"encode:master","ref":"master","sha":"a44cb679888e59e366ea8e932f80699800589d7f","user":{"login":"encode","id":19159390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTU5Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/19159390?v=4","gravatar_id":"","url":"https://api.github.com/users/encode","html_url":"https://github.com/encode","followers_url":"https://api.github.com/users/encode/followers","following_url":"https://api.github.com/users/encode/following{/other_user}","gists_url":"https://api.github.com/users/encode/gists{/gist_id}","starred_url":"https://api.github.com/users/encode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/encode/subscriptions","organizations_url":"https://api.github.com/users/encode/orgs","repos_url":"https://api.github.com/users/encode/repos","events_url":"https://api.github.com/users/encode/events{/privacy}","received_events_url":"https://api.github.com/users/encode/received_events","type":"Organization","site_admin":false},"repo":{"id":1431547,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMxNTQ3","name":"django-rest-framework","full_name":"encode/django-rest-framework","owner":{"login":"encode","id":19159390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MTU5Mzkw","avatar_url":"https://avatars1.githubusercontent.com/u/19159390?v=4","gravatar_id":"","url":"https://api.github.com/users/encode","html_url":"https://github.com/encode","followers_url":"https://api.github.com/users/encode/followers","following_url":"https://api.github.com/users/encode/following{/other_user}","gists_url":"https://api.github.com/users/encode/gists{/gist_id}","starred_url":"https://api.github.com/users/encode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/encode/subscriptions","organizations_url":"https://api.github.com/users/encode/orgs","repos_url":"https://api.github.com/users/encode/repos","events_url":"https://api.github.com/users/encode/events{/privacy}","received_events_url":"https://api.github.com/users/encode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/encode/django-rest-framework","description":"Web APIs for Django. ⚡️","fork":false,"url":"https://api.github.com/repos/encode/django-rest-framework","forks_url":"https://api.github.com/repos/encode/django-rest-framework/forks","keys_url":"https://api.github.com/repos/encode/django-rest-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/encode/django-rest-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/encode/django-rest-framework/teams","hooks_url":"https://api.github.com/repos/encode/django-rest-framework/hooks","issue_events_url":"https://api.github.com/repos/encode/django-rest-framework/issues/events{/number}","events_url":"https://api.github.com/repos/encode/django-rest-framework/events","assignees_url":"https://api.github.com/repos/encode/django-rest-framework/assignees{/user}","branches_url":"https://api.github.com/repos/encode/django-rest-framework/branches{/branch}","tags_url":"https://api.github.com/repos/encode/django-rest-framework/tags","blobs_url":"https://api.github.com/repos/encode/django-rest-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/encode/django-rest-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/encode/django-rest-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/encode/django-rest-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/encode/django-rest-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/encode/django-rest-framework/languages","stargazers_url":"https://api.github.com/repos/encode/django-rest-framework/stargazers","contributors_url":"https://api.github.com/repos/encode/django-rest-framework/contributors","subscribers_url":"https://api.github.com/repos/encode/django-rest-framework/subscribers","subscription_url":"https://api.github.com/repos/encode/django-rest-framework/subscription","commits_url":"https://api.github.com/repos/encode/django-rest-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/encode/django-rest-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/encode/django-rest-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/encode/django-rest-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/encode/django-rest-framework/contents/{+path}","compare_url":"https://api.github.com/repos/encode/django-rest-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/encode/django-rest-framework/merges","archive_url":"https://api.github.com/repos/encode/django-rest-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/encode/django-rest-framework/downloads","issues_url":"https://api.github.com/repos/encode/django-rest-framework/issues{/number}","pulls_url":"https://api.github.com/repos/encode/django-rest-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/encode/django-rest-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/encode/django-rest-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/encode/django-rest-framework/labels{/name}","releases_url":"https://api.github.com/repos/encode/django-rest-framework/releases{/id}","deployments_url":"https://api.github.com/repos/encode/django-rest-framework/deployments","created_at":"2011-03-02T17:13:56Z","updated_at":"2018-06-22T19:27:45Z","pushed_at":"2018-06-22T21:48:33Z","git_url":"git://github.com/encode/django-rest-framework.git","ssh_url":"git@github.com:encode/django-rest-framework.git","clone_url":"https://github.com/encode/django-rest-framework.git","svn_url":"https://github.com/encode/django-rest-framework","homepage":"https://www.django-rest-framework.org","size":38462,"stargazers_count":10869,"watchers_count":10869,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":3403,"mirror_url":null,"archived":false,"open_issues_count":117,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3403,"open_issues":117,"watchers":10869,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044"},"html":{"href":"https://github.com/encode/django-rest-framework/pull/6044"},"issue":{"href":"https://api.github.com/repos/encode/django-rest-framework/issues/6044"},"comments":{"href":"https://api.github.com/repos/encode/django-rest-framework/issues/6044/comments"},"review_comments":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044/comments"},"review_comment":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/encode/django-rest-framework/pulls/6044/commits"},"statuses":{"href":"https://api.github.com/repos/encode/django-rest-framework/statuses/ee29aa48eb71e0ea9afe9cd91cb0173eac9c1ebd"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rpkilby"}}