{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/37998838","id":37998838,"diff_hunk":"@@ -458,6 +458,22 @@ Models\n * Added the :class:`~django.db.models.functions.Now` database function, which\n   returns the current date and time.\n \n+* ``django.db.models.lookups.Transform`` has been replaced by\n+  :class:`~django.db.models.Func`. ``Transform`` is now an alias of\n+  ``Func`` within the ``django.db.models.lookups`` module. ``Func``\n+  has taken on parts of the ``Transform`` API.\n+\n+* :class:`~django.db.models.Func` expressions that take a single\n+  argument can now be registered as a :ref:`Transform <transform-reference>`.","path":"docs/releases/1.9.txt","position":10,"original_position":10,"commit_id":"a402bbd734655ee62faa9512ce3d40ac85a22b0c","original_commit_id":"a402bbd734655ee62faa9512ce3d40ac85a22b0c","user":{"login":"carljm","id":61586,"avatar_url":"https://avatars.githubusercontent.com/u/61586?v=3","gravatar_id":"","url":"https://api.github.com/users/carljm","html_url":"https://github.com/carljm","followers_url":"https://api.github.com/users/carljm/followers","following_url":"https://api.github.com/users/carljm/following{/other_user}","gists_url":"https://api.github.com/users/carljm/gists{/gist_id}","starred_url":"https://api.github.com/users/carljm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carljm/subscriptions","organizations_url":"https://api.github.com/users/carljm/orgs","repos_url":"https://api.github.com/users/carljm/repos","events_url":"https://api.github.com/users/carljm/events{/privacy}","received_events_url":"https://api.github.com/users/carljm/received_events","type":"User","site_admin":false},"body":"I don't think `Transform` should be capitalized here.","created_at":"2015-08-26T15:50:56Z","updated_at":"2015-08-26T15:50:56Z","html_url":"https://github.com/django/django/pull/5090#discussion_r37998838","pull_request_url":"https://api.github.com/repos/django/django/pulls/5090","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/37998838"},"html":{"href":"https://github.com/django/django/pull/5090#discussion_r37998838"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/5090"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/5090","id":41450645,"html_url":"https://github.com/django/django/pull/5090","diff_url":"https://github.com/django/django/pull/5090.diff","patch_url":"https://github.com/django/django/pull/5090.patch","issue_url":"https://api.github.com/repos/django/django/issues/5090","number":5090,"state":"open","locked":false,"title":"#24629 -- Unify the expressions and transform API","user":{"login":"jarshwah","id":541083,"avatar_url":"https://avatars.githubusercontent.com/u/541083?v=3","gravatar_id":"","url":"https://api.github.com/users/jarshwah","html_url":"https://github.com/jarshwah","followers_url":"https://api.github.com/users/jarshwah/followers","following_url":"https://api.github.com/users/jarshwah/following{/other_user}","gists_url":"https://api.github.com/users/jarshwah/gists{/gist_id}","starred_url":"https://api.github.com/users/jarshwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarshwah/subscriptions","organizations_url":"https://api.github.com/users/jarshwah/orgs","repos_url":"https://api.github.com/users/jarshwah/repos","events_url":"https://api.github.com/users/jarshwah/events{/privacy}","received_events_url":"https://api.github.com/users/jarshwah/received_events","type":"User","site_admin":false},"body":"This is a work in progress, hoping to have it working by the end of pyconau sprints (4th August). The first two commits pave the way for making the initialisation APIs similar, and should probably be merged even if the rest of this patch does not make it.\r\n\r\nI don't think there are any compatibility concerns here. The tests that were changed (SQLFunc etc) were wrong to begin with, and worked because the rhs was being passed to `lookup_init`. ","created_at":"2015-08-03T09:48:37Z","updated_at":"2015-08-26T15:50:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c5e26f4a1e4d1b9218640e55119230287a528d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/5090/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/5090/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/5090/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/a402bbd734655ee62faa9512ce3d40ac85a22b0c","head":{"label":"jarshwah:unify-expr-transforms","ref":"unify-expr-transforms","sha":"a402bbd734655ee62faa9512ce3d40ac85a22b0c","user":{"login":"jarshwah","id":541083,"avatar_url":"https://avatars.githubusercontent.com/u/541083?v=3","gravatar_id":"","url":"https://api.github.com/users/jarshwah","html_url":"https://github.com/jarshwah","followers_url":"https://api.github.com/users/jarshwah/followers","following_url":"https://api.github.com/users/jarshwah/following{/other_user}","gists_url":"https://api.github.com/users/jarshwah/gists{/gist_id}","starred_url":"https://api.github.com/users/jarshwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarshwah/subscriptions","organizations_url":"https://api.github.com/users/jarshwah/orgs","repos_url":"https://api.github.com/users/jarshwah/repos","events_url":"https://api.github.com/users/jarshwah/events{/privacy}","received_events_url":"https://api.github.com/users/jarshwah/received_events","type":"User","site_admin":false},"repo":{"id":4635741,"name":"django","full_name":"jarshwah/django","owner":{"login":"jarshwah","id":541083,"avatar_url":"https://avatars.githubusercontent.com/u/541083?v=3","gravatar_id":"","url":"https://api.github.com/users/jarshwah","html_url":"https://github.com/jarshwah","followers_url":"https://api.github.com/users/jarshwah/followers","following_url":"https://api.github.com/users/jarshwah/following{/other_user}","gists_url":"https://api.github.com/users/jarshwah/gists{/gist_id}","starred_url":"https://api.github.com/users/jarshwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jarshwah/subscriptions","organizations_url":"https://api.github.com/users/jarshwah/orgs","repos_url":"https://api.github.com/users/jarshwah/repos","events_url":"https://api.github.com/users/jarshwah/events{/privacy}","received_events_url":"https://api.github.com/users/jarshwah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jarshwah/django","description":"The Web framework for perfectionists with deadlines. Now on GitHub.","fork":true,"url":"https://api.github.com/repos/jarshwah/django","forks_url":"https://api.github.com/repos/jarshwah/django/forks","keys_url":"https://api.github.com/repos/jarshwah/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jarshwah/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jarshwah/django/teams","hooks_url":"https://api.github.com/repos/jarshwah/django/hooks","issue_events_url":"https://api.github.com/repos/jarshwah/django/issues/events{/number}","events_url":"https://api.github.com/repos/jarshwah/django/events","assignees_url":"https://api.github.com/repos/jarshwah/django/assignees{/user}","branches_url":"https://api.github.com/repos/jarshwah/django/branches{/branch}","tags_url":"https://api.github.com/repos/jarshwah/django/tags","blobs_url":"https://api.github.com/repos/jarshwah/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jarshwah/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jarshwah/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/jarshwah/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jarshwah/django/statuses/{sha}","languages_url":"https://api.github.com/repos/jarshwah/django/languages","stargazers_url":"https://api.github.com/repos/jarshwah/django/stargazers","contributors_url":"https://api.github.com/repos/jarshwah/django/contributors","subscribers_url":"https://api.github.com/repos/jarshwah/django/subscribers","subscription_url":"https://api.github.com/repos/jarshwah/django/subscription","commits_url":"https://api.github.com/repos/jarshwah/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/jarshwah/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/jarshwah/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/jarshwah/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/jarshwah/django/contents/{+path}","compare_url":"https://api.github.com/repos/jarshwah/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jarshwah/django/merges","archive_url":"https://api.github.com/repos/jarshwah/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jarshwah/django/downloads","issues_url":"https://api.github.com/repos/jarshwah/django/issues{/number}","pulls_url":"https://api.github.com/repos/jarshwah/django/pulls{/number}","milestones_url":"https://api.github.com/repos/jarshwah/django/milestones{/number}","notifications_url":"https://api.github.com/repos/jarshwah/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jarshwah/django/labels{/name}","releases_url":"https://api.github.com/repos/jarshwah/django/releases{/id}","created_at":"2012-06-12T09:53:04Z","updated_at":"2015-01-28T00:00:22Z","pushed_at":"2015-08-26T10:27:01Z","git_url":"git://github.com/jarshwah/django.git","ssh_url":"git@github.com:jarshwah/django.git","clone_url":"https://github.com/jarshwah/django.git","svn_url":"https://github.com/jarshwah/django","homepage":"http://www.djangoproject.com/","size":133951,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"ea47a052ba7a097a98993c240ecea96a115f6c25","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}","created_at":"2012-04-28T02:47:18Z","updated_at":"2015-08-26T15:12:30Z","pushed_at":"2015-08-26T15:01:07Z","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":305990,"stargazers_count":15702,"watchers_count":15702,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6282,"mirror_url":null,"open_issues_count":84,"forks":6282,"open_issues":84,"watchers":15702,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/5090"},"html":{"href":"https://github.com/django/django/pull/5090"},"issue":{"href":"https://api.github.com/repos/django/django/issues/5090"},"comments":{"href":"https://api.github.com/repos/django/django/issues/5090/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/5090/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/5090/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/a402bbd734655ee62faa9512ce3d40ac85a22b0c"}}}}