{"action":"created","comment":{"url":"https://api.github.com/repos/django/django/pulls/comments/27078508","id":27078508,"diff_hunk":"@@ -1408,9 +1411,14 @@ def changeform_view(self, request, object_id=None, form_url='', extra_context=No\n             errors=helpers.AdminErrorList(form, formsets),\n             preserved_filters=self.get_preserved_filters(request),\n         )\n-\n+        # Hide \"Save\" and \"Save and continue\" buttons since \"Save as New\" was\n+        # previously chosen and the interface gets confusing otherwise.\n+        # Also, the \"normal\" save functionality is broken after a \"Save as New\"","path":"django/contrib/admin/options.py","position":30,"original_position":30,"commit_id":"8773a8e53078555c02eed052fc612bad28cf7fae","original_commit_id":"8773a8e53078555c02eed052fc612bad28cf7fae","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 could probably omit this second sentence. At least, try to make the comments detailed enough to avoid referencing tickets in code.","created_at":"2015-03-24T22:06:46Z","updated_at":"2015-03-24T22:06:46Z","html_url":"https://github.com/django/django/pull/4265#discussion_r27078508","pull_request_url":"https://api.github.com/repos/django/django/pulls/4265","_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/comments/27078508"},"html":{"href":"https://github.com/django/django/pull/4265#discussion_r27078508"},"pull_request":{"href":"https://api.github.com/repos/django/django/pulls/4265"}}},"pull_request":{"url":"https://api.github.com/repos/django/django/pulls/4265","id":30704028,"html_url":"https://github.com/django/django/pull/4265","diff_url":"https://github.com/django/django/pull/4265.diff","patch_url":"https://github.com/django/django/pull/4265.patch","issue_url":"https://api.github.com/repos/django/django/issues/4265","number":4265,"state":"open","locked":false,"title":"Fixed #23387 -- Error when saving inline formsets as new after a validation error","user":{"login":"tino","id":99524,"avatar_url":"https://avatars.githubusercontent.com/u/99524?v=3","gravatar_id":"","url":"https://api.github.com/users/tino","html_url":"https://github.com/tino","followers_url":"https://api.github.com/users/tino/followers","following_url":"https://api.github.com/users/tino/following{/other_user}","gists_url":"https://api.github.com/users/tino/gists{/gist_id}","starred_url":"https://api.github.com/users/tino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tino/subscriptions","organizations_url":"https://api.github.com/users/tino/orgs","repos_url":"https://api.github.com/users/tino/repos","events_url":"https://api.github.com/users/tino/events{/privacy}","received_events_url":"https://api.github.com/users/tino/received_events","type":"User","site_admin":false},"body":"https://code.djangoproject.com/ticket/23387\r\n","created_at":"2015-03-07T15:15:02Z","updated_at":"2015-03-24T22:06:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b6ec440e5eb9d9ef7ba9362b13a6c75d4418a34","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django/django/pulls/4265/commits","review_comments_url":"https://api.github.com/repos/django/django/pulls/4265/comments","review_comment_url":"https://api.github.com/repos/django/django/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/django/issues/4265/comments","statuses_url":"https://api.github.com/repos/django/django/statuses/8773a8e53078555c02eed052fc612bad28cf7fae","head":{"label":"tino:fix-23387","ref":"fix-23387","sha":"8773a8e53078555c02eed052fc612bad28cf7fae","user":{"login":"tino","id":99524,"avatar_url":"https://avatars.githubusercontent.com/u/99524?v=3","gravatar_id":"","url":"https://api.github.com/users/tino","html_url":"https://github.com/tino","followers_url":"https://api.github.com/users/tino/followers","following_url":"https://api.github.com/users/tino/following{/other_user}","gists_url":"https://api.github.com/users/tino/gists{/gist_id}","starred_url":"https://api.github.com/users/tino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tino/subscriptions","organizations_url":"https://api.github.com/users/tino/orgs","repos_url":"https://api.github.com/users/tino/repos","events_url":"https://api.github.com/users/tino/events{/privacy}","received_events_url":"https://api.github.com/users/tino/received_events","type":"User","site_admin":false},"repo":{"id":31815377,"name":"django","full_name":"tino/django","owner":{"login":"tino","id":99524,"avatar_url":"https://avatars.githubusercontent.com/u/99524?v=3","gravatar_id":"","url":"https://api.github.com/users/tino","html_url":"https://github.com/tino","followers_url":"https://api.github.com/users/tino/followers","following_url":"https://api.github.com/users/tino/following{/other_user}","gists_url":"https://api.github.com/users/tino/gists{/gist_id}","starred_url":"https://api.github.com/users/tino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tino/subscriptions","organizations_url":"https://api.github.com/users/tino/orgs","repos_url":"https://api.github.com/users/tino/repos","events_url":"https://api.github.com/users/tino/events{/privacy}","received_events_url":"https://api.github.com/users/tino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tino/django","description":"The Web framework for perfectionists with deadlines.","fork":true,"url":"https://api.github.com/repos/tino/django","forks_url":"https://api.github.com/repos/tino/django/forks","keys_url":"https://api.github.com/repos/tino/django/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tino/django/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tino/django/teams","hooks_url":"https://api.github.com/repos/tino/django/hooks","issue_events_url":"https://api.github.com/repos/tino/django/issues/events{/number}","events_url":"https://api.github.com/repos/tino/django/events","assignees_url":"https://api.github.com/repos/tino/django/assignees{/user}","branches_url":"https://api.github.com/repos/tino/django/branches{/branch}","tags_url":"https://api.github.com/repos/tino/django/tags","blobs_url":"https://api.github.com/repos/tino/django/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tino/django/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tino/django/git/refs{/sha}","trees_url":"https://api.github.com/repos/tino/django/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tino/django/statuses/{sha}","languages_url":"https://api.github.com/repos/tino/django/languages","stargazers_url":"https://api.github.com/repos/tino/django/stargazers","contributors_url":"https://api.github.com/repos/tino/django/contributors","subscribers_url":"https://api.github.com/repos/tino/django/subscribers","subscription_url":"https://api.github.com/repos/tino/django/subscription","commits_url":"https://api.github.com/repos/tino/django/commits{/sha}","git_commits_url":"https://api.github.com/repos/tino/django/git/commits{/sha}","comments_url":"https://api.github.com/repos/tino/django/comments{/number}","issue_comment_url":"https://api.github.com/repos/tino/django/issues/comments{/number}","contents_url":"https://api.github.com/repos/tino/django/contents/{+path}","compare_url":"https://api.github.com/repos/tino/django/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tino/django/merges","archive_url":"https://api.github.com/repos/tino/django/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tino/django/downloads","issues_url":"https://api.github.com/repos/tino/django/issues{/number}","pulls_url":"https://api.github.com/repos/tino/django/pulls{/number}","milestones_url":"https://api.github.com/repos/tino/django/milestones{/number}","notifications_url":"https://api.github.com/repos/tino/django/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tino/django/labels{/name}","releases_url":"https://api.github.com/repos/tino/django/releases{/id}","created_at":"2015-03-07T14:58:44Z","updated_at":"2015-03-07T14:59:00Z","pushed_at":"2015-03-07T15:13:07Z","git_url":"git://github.com/tino/django.git","ssh_url":"git@github.com:tino/django.git","clone_url":"https://github.com/tino/django.git","svn_url":"https://github.com/tino/django","homepage":"https://www.djangoproject.com/","size":124816,"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":"90b069c33f3f8785a7d068a2032f130d2dbb0c75","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-03-24T21:17:00Z","pushed_at":"2015-03-24T17:45:11Z","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":272649,"stargazers_count":13439,"watchers_count":13439,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5288,"mirror_url":null,"open_issues_count":80,"forks":5288,"open_issues":80,"watchers":13439,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/django/pulls/4265"},"html":{"href":"https://github.com/django/django/pull/4265"},"issue":{"href":"https://api.github.com/repos/django/django/issues/4265"},"comments":{"href":"https://api.github.com/repos/django/django/issues/4265/comments"},"review_comments":{"href":"https://api.github.com/repos/django/django/pulls/4265/comments"},"review_comment":{"href":"https://api.github.com/repos/django/django/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/django/pulls/4265/commits"},"statuses":{"href":"https://api.github.com/repos/django/django/statuses/8773a8e53078555c02eed052fc612bad28cf7fae"}}}}