{"action":"created","comment":{"url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/comments/226469341","pull_request_review_id":166300139,"id":226469341,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ2OTM0MQ==","diff_hunk":"@@ -84,6 +84,7 @@ def history_view(self, request, object_id, extra_context=None):\n             'admin_user_view': admin_user_view,\n             'history_list_display': history_list_display,\n         }\n+        context.update(self.admin_site.each_context(request))","path":"simple_history/admin.py","position":4,"original_position":4,"commit_id":"3e4b27439a4d7b84a959663028e1a9e451e8bea2","original_commit_id":"3e4b27439a4d7b84a959663028e1a9e451e8bea2","user":{"login":"tbeadle","id":4206917,"node_id":"MDQ6VXNlcjQyMDY5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4206917?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeadle","html_url":"https://github.com/tbeadle","followers_url":"https://api.github.com/users/tbeadle/followers","following_url":"https://api.github.com/users/tbeadle/following{/other_user}","gists_url":"https://api.github.com/users/tbeadle/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeadle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeadle/subscriptions","organizations_url":"https://api.github.com/users/tbeadle/orgs","repos_url":"https://api.github.com/users/tbeadle/repos","events_url":"https://api.github.com/users/tbeadle/events{/privacy}","received_events_url":"https://api.github.com/users/tbeadle/received_events","type":"User","site_admin":false},"body":"That syntax is not supported for python2.7.","created_at":"2018-10-18T21:19:00Z","updated_at":"2018-10-18T21:19:00Z","html_url":"https://github.com/treyhunner/django-simple-history/pull/448#discussion_r226469341","pull_request_url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/comments/226469341"},"html":{"href":"https://github.com/treyhunner/django-simple-history/pull/448#discussion_r226469341"},"pull_request":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448"}},"in_reply_to_id":226466178},"pull_request":{"url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448","id":224052635,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MDUyNjM1","html_url":"https://github.com/treyhunner/django-simple-history/pull/448","diff_url":"https://github.com/treyhunner/django-simple-history/pull/448.diff","patch_url":"https://github.com/treyhunner/django-simple-history/pull/448.patch","issue_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/448","number":448,"state":"open","locked":false,"title":"Honor a custom admin site_header in the listing and details pages.","user":{"login":"tbeadle","id":4206917,"node_id":"MDQ6VXNlcjQyMDY5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4206917?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeadle","html_url":"https://github.com/tbeadle","followers_url":"https://api.github.com/users/tbeadle/followers","following_url":"https://api.github.com/users/tbeadle/following{/other_user}","gists_url":"https://api.github.com/users/tbeadle/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeadle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeadle/subscriptions","organizations_url":"https://api.github.com/users/tbeadle/orgs","repos_url":"https://api.github.com/users/tbeadle/repos","events_url":"https://api.github.com/users/tbeadle/events{/privacy}","received_events_url":"https://api.github.com/users/tbeadle/received_events","type":"User","site_admin":false},"body":"## Description\r\nInclude the admin site's site_header when generating the context for the pages used in django-simple-history.\r\n\r\n## Related Issue\r\n#205 \r\n\r\n## Motivation and Context\r\nPreviously, the default \"Django Administration\" header was being displayed.\r\n\r\n## How Has This Been Tested?\r\nUsed a sample project and set `admin.site.site_header = 'Something'` in urls.py. Verified that the history listing and details pages show that header. Previously, they showed the default.\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [X] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [X] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [X] I have read the **CONTRIBUTING** document.\r\n- [X] I have added tests to cover my changes.\r\n- [X] All new and existing tests passed.\r\n","created_at":"2018-10-18T18:22:05Z","updated_at":"2018-10-18T21:19:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5047a6b9413f5b7e0746b486b1dd0c42230691f6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1096227771,"node_id":"MDU6TGFiZWwxMDk2MjI3Nzcx","url":"https://api.github.com/repos/treyhunner/django-simple-history/labels/DjangoConUS2018","name":"DjangoConUS2018","color":"b544e5","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448/commits","review_comments_url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448/comments","review_comment_url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/comments{/number}","comments_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/448/comments","statuses_url":"https://api.github.com/repos/treyhunner/django-simple-history/statuses/3e4b27439a4d7b84a959663028e1a9e451e8bea2","head":{"label":"tbeadle:admin-site-header","ref":"admin-site-header","sha":"3e4b27439a4d7b84a959663028e1a9e451e8bea2","user":{"login":"tbeadle","id":4206917,"node_id":"MDQ6VXNlcjQyMDY5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4206917?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeadle","html_url":"https://github.com/tbeadle","followers_url":"https://api.github.com/users/tbeadle/followers","following_url":"https://api.github.com/users/tbeadle/following{/other_user}","gists_url":"https://api.github.com/users/tbeadle/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeadle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeadle/subscriptions","organizations_url":"https://api.github.com/users/tbeadle/orgs","repos_url":"https://api.github.com/users/tbeadle/repos","events_url":"https://api.github.com/users/tbeadle/events{/privacy}","received_events_url":"https://api.github.com/users/tbeadle/received_events","type":"User","site_admin":false},"repo":{"id":153655952,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM2NTU5NTI=","name":"django-simple-history","full_name":"tbeadle/django-simple-history","private":false,"owner":{"login":"tbeadle","id":4206917,"node_id":"MDQ6VXNlcjQyMDY5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4206917?v=4","gravatar_id":"","url":"https://api.github.com/users/tbeadle","html_url":"https://github.com/tbeadle","followers_url":"https://api.github.com/users/tbeadle/followers","following_url":"https://api.github.com/users/tbeadle/following{/other_user}","gists_url":"https://api.github.com/users/tbeadle/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeadle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeadle/subscriptions","organizations_url":"https://api.github.com/users/tbeadle/orgs","repos_url":"https://api.github.com/users/tbeadle/repos","events_url":"https://api.github.com/users/tbeadle/events{/privacy}","received_events_url":"https://api.github.com/users/tbeadle/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tbeadle/django-simple-history","description":"Store model history and view/revert changes from admin site.","fork":true,"url":"https://api.github.com/repos/tbeadle/django-simple-history","forks_url":"https://api.github.com/repos/tbeadle/django-simple-history/forks","keys_url":"https://api.github.com/repos/tbeadle/django-simple-history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbeadle/django-simple-history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbeadle/django-simple-history/teams","hooks_url":"https://api.github.com/repos/tbeadle/django-simple-history/hooks","issue_events_url":"https://api.github.com/repos/tbeadle/django-simple-history/issues/events{/number}","events_url":"https://api.github.com/repos/tbeadle/django-simple-history/events","assignees_url":"https://api.github.com/repos/tbeadle/django-simple-history/assignees{/user}","branches_url":"https://api.github.com/repos/tbeadle/django-simple-history/branches{/branch}","tags_url":"https://api.github.com/repos/tbeadle/django-simple-history/tags","blobs_url":"https://api.github.com/repos/tbeadle/django-simple-history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbeadle/django-simple-history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbeadle/django-simple-history/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbeadle/django-simple-history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbeadle/django-simple-history/statuses/{sha}","languages_url":"https://api.github.com/repos/tbeadle/django-simple-history/languages","stargazers_url":"https://api.github.com/repos/tbeadle/django-simple-history/stargazers","contributors_url":"https://api.github.com/repos/tbeadle/django-simple-history/contributors","subscribers_url":"https://api.github.com/repos/tbeadle/django-simple-history/subscribers","subscription_url":"https://api.github.com/repos/tbeadle/django-simple-history/subscription","commits_url":"https://api.github.com/repos/tbeadle/django-simple-history/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbeadle/django-simple-history/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbeadle/django-simple-history/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbeadle/django-simple-history/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbeadle/django-simple-history/contents/{+path}","compare_url":"https://api.github.com/repos/tbeadle/django-simple-history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbeadle/django-simple-history/merges","archive_url":"https://api.github.com/repos/tbeadle/django-simple-history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbeadle/django-simple-history/downloads","issues_url":"https://api.github.com/repos/tbeadle/django-simple-history/issues{/number}","pulls_url":"https://api.github.com/repos/tbeadle/django-simple-history/pulls{/number}","milestones_url":"https://api.github.com/repos/tbeadle/django-simple-history/milestones{/number}","notifications_url":"https://api.github.com/repos/tbeadle/django-simple-history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbeadle/django-simple-history/labels{/name}","releases_url":"https://api.github.com/repos/tbeadle/django-simple-history/releases{/id}","deployments_url":"https://api.github.com/repos/tbeadle/django-simple-history/deployments","created_at":"2018-10-18T16:40:12Z","updated_at":"2018-10-18T16:40:15Z","pushed_at":"2018-10-18T19:14:13Z","git_url":"git://github.com/tbeadle/django-simple-history.git","ssh_url":"git@github.com:tbeadle/django-simple-history.git","clone_url":"https://github.com/tbeadle/django-simple-history.git","svn_url":"https://github.com/tbeadle/django-simple-history","homepage":"https://django-simple-history.readthedocs.org","size":941,"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":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"treyhunner:master","ref":"master","sha":"c8c68562824a38f7b591876f01c93056e6828276","user":{"login":"treyhunner","id":285352,"node_id":"MDQ6VXNlcjI4NTM1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/285352?v=4","gravatar_id":"","url":"https://api.github.com/users/treyhunner","html_url":"https://github.com/treyhunner","followers_url":"https://api.github.com/users/treyhunner/followers","following_url":"https://api.github.com/users/treyhunner/following{/other_user}","gists_url":"https://api.github.com/users/treyhunner/gists{/gist_id}","starred_url":"https://api.github.com/users/treyhunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treyhunner/subscriptions","organizations_url":"https://api.github.com/users/treyhunner/orgs","repos_url":"https://api.github.com/users/treyhunner/repos","events_url":"https://api.github.com/users/treyhunner/events{/privacy}","received_events_url":"https://api.github.com/users/treyhunner/received_events","type":"User","site_admin":false},"repo":{"id":1447882,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQ3ODgy","name":"django-simple-history","full_name":"treyhunner/django-simple-history","private":false,"owner":{"login":"treyhunner","id":285352,"node_id":"MDQ6VXNlcjI4NTM1Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/285352?v=4","gravatar_id":"","url":"https://api.github.com/users/treyhunner","html_url":"https://github.com/treyhunner","followers_url":"https://api.github.com/users/treyhunner/followers","following_url":"https://api.github.com/users/treyhunner/following{/other_user}","gists_url":"https://api.github.com/users/treyhunner/gists{/gist_id}","starred_url":"https://api.github.com/users/treyhunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/treyhunner/subscriptions","organizations_url":"https://api.github.com/users/treyhunner/orgs","repos_url":"https://api.github.com/users/treyhunner/repos","events_url":"https://api.github.com/users/treyhunner/events{/privacy}","received_events_url":"https://api.github.com/users/treyhunner/received_events","type":"User","site_admin":false},"html_url":"https://github.com/treyhunner/django-simple-history","description":"Store model history and view/revert changes from admin site.","fork":false,"url":"https://api.github.com/repos/treyhunner/django-simple-history","forks_url":"https://api.github.com/repos/treyhunner/django-simple-history/forks","keys_url":"https://api.github.com/repos/treyhunner/django-simple-history/keys{/key_id}","collaborators_url":"https://api.github.com/repos/treyhunner/django-simple-history/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/treyhunner/django-simple-history/teams","hooks_url":"https://api.github.com/repos/treyhunner/django-simple-history/hooks","issue_events_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/events{/number}","events_url":"https://api.github.com/repos/treyhunner/django-simple-history/events","assignees_url":"https://api.github.com/repos/treyhunner/django-simple-history/assignees{/user}","branches_url":"https://api.github.com/repos/treyhunner/django-simple-history/branches{/branch}","tags_url":"https://api.github.com/repos/treyhunner/django-simple-history/tags","blobs_url":"https://api.github.com/repos/treyhunner/django-simple-history/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/treyhunner/django-simple-history/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/treyhunner/django-simple-history/git/refs{/sha}","trees_url":"https://api.github.com/repos/treyhunner/django-simple-history/git/trees{/sha}","statuses_url":"https://api.github.com/repos/treyhunner/django-simple-history/statuses/{sha}","languages_url":"https://api.github.com/repos/treyhunner/django-simple-history/languages","stargazers_url":"https://api.github.com/repos/treyhunner/django-simple-history/stargazers","contributors_url":"https://api.github.com/repos/treyhunner/django-simple-history/contributors","subscribers_url":"https://api.github.com/repos/treyhunner/django-simple-history/subscribers","subscription_url":"https://api.github.com/repos/treyhunner/django-simple-history/subscription","commits_url":"https://api.github.com/repos/treyhunner/django-simple-history/commits{/sha}","git_commits_url":"https://api.github.com/repos/treyhunner/django-simple-history/git/commits{/sha}","comments_url":"https://api.github.com/repos/treyhunner/django-simple-history/comments{/number}","issue_comment_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues/comments{/number}","contents_url":"https://api.github.com/repos/treyhunner/django-simple-history/contents/{+path}","compare_url":"https://api.github.com/repos/treyhunner/django-simple-history/compare/{base}...{head}","merges_url":"https://api.github.com/repos/treyhunner/django-simple-history/merges","archive_url":"https://api.github.com/repos/treyhunner/django-simple-history/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/treyhunner/django-simple-history/downloads","issues_url":"https://api.github.com/repos/treyhunner/django-simple-history/issues{/number}","pulls_url":"https://api.github.com/repos/treyhunner/django-simple-history/pulls{/number}","milestones_url":"https://api.github.com/repos/treyhunner/django-simple-history/milestones{/number}","notifications_url":"https://api.github.com/repos/treyhunner/django-simple-history/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/treyhunner/django-simple-history/labels{/name}","releases_url":"https://api.github.com/repos/treyhunner/django-simple-history/releases{/id}","deployments_url":"https://api.github.com/repos/treyhunner/django-simple-history/deployments","created_at":"2011-03-06T22:42:19Z","updated_at":"2018-10-18T21:08:47Z","pushed_at":"2018-10-18T21:16:56Z","git_url":"git://github.com/treyhunner/django-simple-history.git","ssh_url":"git@github.com:treyhunner/django-simple-history.git","clone_url":"https://github.com/treyhunner/django-simple-history.git","svn_url":"https://github.com/treyhunner/django-simple-history","homepage":"https://django-simple-history.readthedocs.org","size":942,"stargazers_count":590,"watchers_count":590,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":213,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":213,"open_issues":57,"watchers":590,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448"},"html":{"href":"https://github.com/treyhunner/django-simple-history/pull/448"},"issue":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/issues/448"},"comments":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/issues/448/comments"},"review_comments":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448/comments"},"review_comment":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/pulls/448/commits"},"statuses":{"href":"https://api.github.com/repos/treyhunner/django-simple-history/statuses/3e4b27439a4d7b84a959663028e1a9e451e8bea2"}},"author_association":"NONE"}}
{"actor":{"display_login":"tbeadle"}}