{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/77227491","id":77227491,"diff_hunk":"@@ -521,12 +521,13 @@ subclass::\n         If you want to use a custom widget with a relation field (i.e.\n         :class:`~django.db.models.ForeignKey` or\n         :class:`~django.db.models.ManyToManyField`), make sure you haven't\n-        included that field's name in ``raw_id_fields`` or ``radio_fields``.\n+        included that field's name in ``raw_id_fields``,  ``radio_fields``\n+        or ``autocomplete_fields``.\n \n         ``formfield_overrides`` won't let you change the widget on relation\n-        fields that have ``raw_id_fields`` or ``radio_fields`` set. That's\n-        because ``raw_id_fields`` and ``radio_fields`` imply custom widgets of\n-        their own.\n+        fields that have ``raw_id_fields``, ``radio_fields`` or","path":"docs/ref/contrib/admin/index.txt","position":12,"original_position":12,"commit_id":"696bfa69282e6983568728d2c24fffffc8b85c7c","original_commit_id":"696bfa69282e6983568728d2c24fffffc8b85c7c","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":", or","created_at":"2016-09-01T18:25:36Z","updated_at":"2016-09-01T18:25:36Z","html_url":"https://github.com/django/django/pull/6385#discussion_r77227491","pull_request_url":"https://api.github.com/repos/django/django/pulls/6385","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/77227491"},"html":{"href":"https://github.com/django/django/pull/6385#discussion_r77227491"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/6385"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/6385","id":65053534,"html_url":"https://github.com/django/django/pull/6385","diff_url":"https://github.com/django/django/pull/6385.diff","patch_url":"https://github.com/django/django/pull/6385.patch","issue_url":"https://api.github.com/repos/django/django/issues/6385","number":6385,"state":"open","locked":false,"title":"Fixed #14370 -- Added select2 widget for related object fields in admin.","user":{"login":"codingjoe","id":1772890,"avatar_url":"https://avatars.githubusercontent.com/u/1772890?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjoe","html_url":"https://github.com/codingjoe","followers_url":"https://api.github.com/users/codingjoe/followers","following_url":"https://api.github.com/users/codingjoe/following{/other_user}","gists_url":"https://api.github.com/users/codingjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjoe/subscriptions","organizations_url":"https://api.github.com/users/codingjoe/orgs","repos_url":"https://api.github.com/users/codingjoe/repos","events_url":"https://api.github.com/users/codingjoe/events{/privacy}","received_events_url":"https://api.github.com/users/codingjoe/received_events","type":"User","site_admin":false},"body":"Adds jQuery Select2 version 4 to support async select inputs\r\nincluding a search feature.\r\n\r\n### Changes:\r\n- ~~jQuery noConflict is set to false, jQuery itself does not get removed form global~~\r\n- ~~the new select2 widget is automatically used if the related object\r\n  has a registered admin and defines search fields~~\r\n- only str representation is supported at this point\r\n- the search feature uses the same field as the model admin\r\n\r\n### Todo:\r\n- [x] ~~Possible deprecation of raw_id field?~~\r\n- [x] Release note. (Which release?)\r\n- [x] Selenium integration tests\r\n- [x] widget tests\r\n- [x] pagingnator and page tests\r\n- [x] view tests\r\n- [x] admin_site integration tests\r\n- [x] add `MODEL_change` permission to json view\r\n- [x] [system checks](https://docs.djangoproject.com/en/1.9/ref/checks/#admin)\r\n","created_at":"2016-04-02T23:27:18Z","updated_at":"2016-09-01T18:25:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d418782b27e2d314ad5249965ff92c3215a73f7d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/6385/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/6385/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/6385/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/696bfa69282e6983568728d2c24fffffc8b85c7c","head":{"label":"codingjoe:issues/14370","ref":"issues/14370","sha":"696bfa69282e6983568728d2c24fffffc8b85c7c","user":{"login":"codingjoe","id":1772890,"avatar_url":"https://avatars.githubusercontent.com/u/1772890?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjoe","html_url":"https://github.com/codingjoe","followers_url":"https://api.github.com/users/codingjoe/followers","following_url":"https://api.github.com/users/codingjoe/following{/other_user}","gists_url":"https://api.github.com/users/codingjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjoe/subscriptions","organizations_url":"https://api.github.com/users/codingjoe/orgs","repos_url":"https://api.github.com/users/codingjoe/repos","events_url":"https://api.github.com/users/codingjoe/events{/privacy}","received_events_url":"https://api.github.com/users/codingjoe/received_events","type":"User","site_admin":false},"repo":{"id":45730981,"name":"django","full_name":"codingjoe/django","owner":{"login":"codingjoe","id":1772890,"avatar_url":"https://avatars.githubusercontent.com/u/1772890?v=3","gravatar_id":"","url":"https://api.github.com/users/codingjoe","html_url":"https://github.com/codingjoe","followers_url":"https://api.github.com/users/codingjoe/followers","following_url":"https://api.github.com/users/codingjoe/following{/other_user}","gists_url":"https://api.github.com/users/codingjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/codingjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codingjoe/subscriptions","organizations_url":"https://api.github.com/users/codingjoe/orgs","repos_url":"https://api.github.com/users/codingjoe/repos","events_url":"https://api.github.com/users/codingjoe/events{/privacy}","received_events_url":"https://api.github.com/users/codingjoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/codingjoe/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/codingjoe/django","forks_url":"https://api.github.com/repos/codingjoe/django/forks","keys_url":"https://api.github.com/repos/codingjoe/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codingjoe/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codingjoe/django/teams","hooks_url":"https://api.github.com/repos/codingjoe/django/hooks","issue_events_url":"https://api.github.com/repos/codingjoe/django/issues/events{/number}","events_url":"https://api.github.com/repos/codingjoe/django/events","assignees_url":"https://api.github.com/repos/codingjoe/django/assignees{/user}","branches_url":"https://api.github.com/repos/codingjoe/django/branches{/branch}","tags_url":"https://api.github.com/repos/codingjoe/django/tags","blobs_url":"https://api.github.com/repos/codingjoe/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codingjoe/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codingjoe/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/codingjoe/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codingjoe/django/statuses/{sha}","languages_url":"https://api.github.com/repos/codingjoe/django/languages","stargazers_url":"https://api.github.com/repos/codingjoe/django/stargazers","contributors_url":"https://api.github.com/repos/codingjoe/django/contributors","subscribers_url":"https://api.github.com/repos/codingjoe/django/subscribers","subscription_url":"https://api.github.com/repos/codingjoe/django/subscription","commits_url":"https://api.github.com/repos/codingjoe/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/codingjoe/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/codingjoe/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/codingjoe/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/codingjoe/django/contents/{+path}","compare_url":"https://api.github.com/repos/codingjoe/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codingjoe/django/merges","archive_url":"https://api.github.com/repos/codingjoe/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codingjoe/django/downloads","issues_url":"https://api.github.com/repos/codingjoe/django/issues{/number}","pulls_url":"https://api.github.com/repos/codingjoe/django/pulls{/number}","milestones_url":"https://api.github.com/repos/codingjoe/django/milestones{/number}","notifications_url":"https://api.github.com/repos/codingjoe/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codingjoe/django/labels{/name}","releases_url":"https://api.github.com/repos/codingjoe/django/releases{/id}","deployments_url":"https://api.github.com/repos/codingjoe/django/deployments","created_at":"2015-11-07T09:52:41Z","updated_at":"2016-01-14T17:23:59Z","pushed_at":"2016-08-27T10:59:49Z","git_url":"git://github.com/codingjoe/django.git","ssh_url":"git@github.com:codingjoe/django.git","clone_url":"https://github.com/codingjoe/django.git","svn_url":"https://github.com/codingjoe/django","homepage":"https://www.djangoproject.com/","size":136584,"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":"3246d2b4bb981a8d782a349a99e9b89206028cee","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-09-01T17:54:36Z","pushed_at":"2016-09-01T18:09:24Z","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":197550,"stargazers_count":20998,"watchers_count":20998,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8478,"mirror_url":null,"open_issues_count":99,"forks":8478,"open_issues":99,"watchers":20998,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/6385"},"html":{"href":"https://github.com/django/django/pull/6385"},"issue":{"href":"https://api.github.com/repos/django/django/issues/6385"},"comments":{"href":"https://api.github.com/repos/django/django/issues/6385/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/6385/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/6385/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/696bfa69282e6983568728d2c24fffffc8b85c7c"}}}}
{"actor":{"display_login":"timgraham"}}