{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/52827035","id":52827035,"diff_hunk":"@@ -102,6 +104,14 @@ def to_python(self, value):\n             value = [self.base_field.to_python(val) for val in vals]\n         return value\n \n+    def _from_db_value(self, value, expression, connection, context):\n+        if value is None:","path":"django/contrib/postgres/fields/array.py","position":14,"original_position":14,"commit_id":"ac26e3a9362bce9184b677cbaf99d20e1104ab94","original_commit_id":"ac26e3a9362bce9184b677cbaf99d20e1104ab94","user":{"login":"timgraham","id":411869,"avatar_url":"https://avatars.githubusercontent.com/u/411869?v=3","gravatar_id":"","url":"https://api.github.com/users/timgraham","html_url":"https://github.com/timgraham","followers_url":"https://api.github.com/users/timgraham/followers","following_url":"https://api.github.com/users/timgraham/following{/other_user}","gists_url":"https://api.github.com/users/timgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/timgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgraham/subscriptions","organizations_url":"https://api.github.com/users/timgraham/orgs","repos_url":"https://api.github.com/users/timgraham/repos","events_url":"https://api.github.com/users/timgraham/events{/privacy}","received_events_url":"https://api.github.com/users/timgraham/received_events","type":"User","site_admin":false},"body":"I think we're missing a test for this condition (no tests fail if it's removed)","created_at":"2016-02-13T12:00:08Z","updated_at":"2016-02-13T12:00:08Z","html_url":"https://github.com/django/django/pull/6131#discussion_r52827035","pull_request_url":"https://api.github.com/repos/django/django/pulls/6131","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/52827035"},"html":{"href":"https://github.com/django/django/pull/6131#discussion_r52827035"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/6131"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/6131","id":59140606,"html_url":"https://github.com/django/django/pull/6131","diff_url":"https://github.com/django/django/pull/6131.diff","patch_url":"https://github.com/django/django/pull/6131.patch","issue_url":"https://api.github.com/repos/django/django/issues/6131","number":6131,"state":"open","locked":false,"title":"Fixed #25143 -- Added ArrayField.from_db_value()","user":{"login":"karanlyons","id":279060,"avatar_url":"https://avatars.githubusercontent.com/u/279060?v=3","gravatar_id":"","url":"https://api.github.com/users/karanlyons","html_url":"https://github.com/karanlyons","followers_url":"https://api.github.com/users/karanlyons/followers","following_url":"https://api.github.com/users/karanlyons/following{/other_user}","gists_url":"https://api.github.com/users/karanlyons/gists{/gist_id}","starred_url":"https://api.github.com/users/karanlyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karanlyons/subscriptions","organizations_url":"https://api.github.com/users/karanlyons/orgs","repos_url":"https://api.github.com/users/karanlyons/repos","events_url":"https://api.github.com/users/karanlyons/events{/privacy}","received_events_url":"https://api.github.com/users/karanlyons/received_events","type":"User","site_admin":false},"body":"See https://code.djangoproject.com/ticket/25143 and https://github.com/django/django/pull/5035#issuecomment-166167796.","created_at":"2016-02-12T07:19:06Z","updated_at":"2016-02-13T12:00:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb5178039489451b298db10b164d156069f3dbfb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/6131/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/6131/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/6131/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/ac26e3a9362bce9184b677cbaf99d20e1104ab94","head":{"label":"karanlyons:ticket_25143","ref":"ticket_25143","sha":"ac26e3a9362bce9184b677cbaf99d20e1104ab94","user":{"login":"karanlyons","id":279060,"avatar_url":"https://avatars.githubusercontent.com/u/279060?v=3","gravatar_id":"","url":"https://api.github.com/users/karanlyons","html_url":"https://github.com/karanlyons","followers_url":"https://api.github.com/users/karanlyons/followers","following_url":"https://api.github.com/users/karanlyons/following{/other_user}","gists_url":"https://api.github.com/users/karanlyons/gists{/gist_id}","starred_url":"https://api.github.com/users/karanlyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karanlyons/subscriptions","organizations_url":"https://api.github.com/users/karanlyons/orgs","repos_url":"https://api.github.com/users/karanlyons/repos","events_url":"https://api.github.com/users/karanlyons/events{/privacy}","received_events_url":"https://api.github.com/users/karanlyons/received_events","type":"User","site_admin":false},"repo":{"id":51502107,"name":"django","full_name":"karanlyons/django","owner":{"login":"karanlyons","id":279060,"avatar_url":"https://avatars.githubusercontent.com/u/279060?v=3","gravatar_id":"","url":"https://api.github.com/users/karanlyons","html_url":"https://github.com/karanlyons","followers_url":"https://api.github.com/users/karanlyons/followers","following_url":"https://api.github.com/users/karanlyons/following{/other_user}","gists_url":"https://api.github.com/users/karanlyons/gists{/gist_id}","starred_url":"https://api.github.com/users/karanlyons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karanlyons/subscriptions","organizations_url":"https://api.github.com/users/karanlyons/orgs","repos_url":"https://api.github.com/users/karanlyons/repos","events_url":"https://api.github.com/users/karanlyons/events{/privacy}","received_events_url":"https://api.github.com/users/karanlyons/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/karanlyons/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/karanlyons/django","forks_url":"https://api.github.com/repos/karanlyons/django/forks","keys_url":"https://api.github.com/repos/karanlyons/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/karanlyons/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/karanlyons/django/teams","hooks_url":"https://api.github.com/repos/karanlyons/django/hooks","issue_events_url":"https://api.github.com/repos/karanlyons/django/issues/events{/number}","events_url":"https://api.github.com/repos/karanlyons/django/events","assignees_url":"https://api.github.com/repos/karanlyons/django/assignees{/user}","branches_url":"https://api.github.com/repos/karanlyons/django/branches{/branch}","tags_url":"https://api.github.com/repos/karanlyons/django/tags","blobs_url":"https://api.github.com/repos/karanlyons/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/karanlyons/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/karanlyons/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/karanlyons/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/karanlyons/django/statuses/{sha}","languages_url":"https://api.github.com/repos/karanlyons/django/languages","stargazers_url":"https://api.github.com/repos/karanlyons/django/stargazers","contributors_url":"https://api.github.com/repos/karanlyons/django/contributors","subscribers_url":"https://api.github.com/repos/karanlyons/django/subscribers","subscription_url":"https://api.github.com/repos/karanlyons/django/subscription","commits_url":"https://api.github.com/repos/karanlyons/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/karanlyons/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/karanlyons/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/karanlyons/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/karanlyons/django/contents/{+path}","compare_url":"https://api.github.com/repos/karanlyons/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/karanlyons/django/merges","archive_url":"https://api.github.com/repos/karanlyons/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/karanlyons/django/downloads","issues_url":"https://api.github.com/repos/karanlyons/django/issues{/number}","pulls_url":"https://api.github.com/repos/karanlyons/django/pulls{/number}","milestones_url":"https://api.github.com/repos/karanlyons/django/milestones{/number}","notifications_url":"https://api.github.com/repos/karanlyons/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/karanlyons/django/labels{/name}","releases_url":"https://api.github.com/repos/karanlyons/django/releases{/id}","deployments_url":"https://api.github.com/repos/karanlyons/django/deployments","created_at":"2016-02-11T08:22:02Z","updated_at":"2016-02-11T08:22:18Z","pushed_at":"2016-02-12T21:09:53Z","git_url":"git://github.com/karanlyons/django.git","ssh_url":"git@github.com:karanlyons/django.git","clone_url":"https://github.com/karanlyons/django.git","svn_url":"https://github.com/karanlyons/django","homepage":"https://www.djangoproject.com/","size":142549,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"36f1f5cfb008c465f372389080cdd92671a6cab7","user":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":4164482,"name":"django","full_name":"django/django","owner":{"login":"django","id":27804,"avatar_url":"https://avatars.githubusercontent.com/u/27804?v=3","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/django","description":"The Web framework for perfectionists with deadlines.","fork":false,"url":"https://api.github.com/repos/django/django","forks_url":"https://api.github.com/repos/django/django/forks","keys_url":"https://api.github.com/repos/django/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/django/teams","hooks_url":"https://api.github.com/repos/django/django/hooks","issue_events_url":"https://api.github.com/repos/django/django/issues/events{/number}","events_url":"https://api.github.com/repos/django/django/events","assignees_url":"https://api.github.com/repos/django/django/assignees{/user}","branches_url":"https://api.github.com/repos/django/django/branches{/branch}","tags_url":"https://api.github.com/repos/django/django/tags","blobs_url":"https://api.github.com/repos/django/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/django/statuses/{sha}","languages_url":"https://api.github.com/repos/django/django/languages","stargazers_url":"https://api.github.com/repos/django/django/stargazers","contributors_url":"https://api.github.com/repos/django/django/contributors","subscribers_url":"https://api.github.com/repos/django/django/subscribers","subscription_url":"https://api.github.com/repos/django/django/subscription","commits_url":"https://api.github.com/repos/django/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/django/contents/{+path}","compare_url":"https://api.github.com/repos/django/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/django/merges","archive_url":"https://api.github.com/repos/django/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/django/downloads","issues_url":"https://api.github.com/repos/django/django/issues{/number}","pulls_url":"https://api.github.com/repos/django/django/pulls{/number}","milestones_url":"https://api.github.com/repos/django/django/milestones{/number}","notifications_url":"https://api.github.com/repos/django/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/django/labels{/name}","releases_url":"https://api.github.com/repos/django/django/releases{/id}","deployments_url":"https://api.github.com/repos/django/django/deployments","created_at":"2012-04-28T02:47:18Z","updated_at":"2016-02-13T11:27:05Z","pushed_at":"2016-02-13T11:54:10Z","git_url":"git://github.com/django/django.git","ssh_url":"git@github.com:django/django.git","clone_url":"https://github.com/django/django.git","svn_url":"https://github.com/django/django","homepage":"https://www.djangoproject.com/","size":182454,"stargazers_count":17994,"watchers_count":17994,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7313,"mirror_url":null,"open_issues_count":98,"forks":7313,"open_issues":98,"watchers":17994,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/6131"},"html":{"href":"https://github.com/django/django/pull/6131"},"issue":{"href":"https://api.github.com/repos/django/django/issues/6131"},"comments":{"href":"https://api.github.com/repos/django/django/issues/6131/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/6131/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/6131/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/ac26e3a9362bce9184b677cbaf99d20e1104ab94"}}}}