{"action":"closed","number":48,"pull_request":{"url":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48","id":54376877,"html_url":"https://github.com/django-oscar/django-oscar-api/pull/48","diff_url":"https://github.com/django-oscar/django-oscar-api/pull/48.diff","patch_url":"https://github.com/django-oscar/django-oscar-api/pull/48.patch","issue_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/48","number":48,"state":"closed","locked":false,"title":"Fix missing attribute request.user on redirect responses","user":{"login":"crgwbr","id":173216,"avatar_url":"https://avatars.githubusercontent.com/u/173216?v=3","gravatar_id":"","url":"https://api.github.com/users/crgwbr","html_url":"https://github.com/crgwbr","followers_url":"https://api.github.com/users/crgwbr/followers","following_url":"https://api.github.com/users/crgwbr/following{/other_user}","gists_url":"https://api.github.com/users/crgwbr/gists{/gist_id}","starred_url":"https://api.github.com/users/crgwbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgwbr/subscriptions","organizations_url":"https://api.github.com/users/crgwbr/orgs","repos_url":"https://api.github.com/users/crgwbr/repos","events_url":"https://api.github.com/users/crgwbr/events{/privacy}","received_events_url":"https://api.github.com/users/crgwbr/received_events","type":"User","site_admin":false},"body":"When a response is a redirect, the request.user attribute is never set. This\r\ncheck prevents through an exception when that is the case.","created_at":"2015-12-22T14:47:21Z","updated_at":"2015-12-22T18:37:22Z","closed_at":"2015-12-22T18:37:22Z","merged_at":"2015-12-22T18:37:22Z","merge_commit_sha":"f9961095b7b8a737b7e6a4c6feaab163f9980ec3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48/commits","review_comments_url":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48/comments","review_comment_url":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/48/comments","statuses_url":"https://api.github.com/repos/django-oscar/django-oscar-api/statuses/95a1d2f45db7c8c50963f5dc9c56ceb0616fb16a","head":{"label":"crgwbr:fix_missing_user_attribute","ref":"fix_missing_user_attribute","sha":"95a1d2f45db7c8c50963f5dc9c56ceb0616fb16a","user":{"login":"crgwbr","id":173216,"avatar_url":"https://avatars.githubusercontent.com/u/173216?v=3","gravatar_id":"","url":"https://api.github.com/users/crgwbr","html_url":"https://github.com/crgwbr","followers_url":"https://api.github.com/users/crgwbr/followers","following_url":"https://api.github.com/users/crgwbr/following{/other_user}","gists_url":"https://api.github.com/users/crgwbr/gists{/gist_id}","starred_url":"https://api.github.com/users/crgwbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgwbr/subscriptions","organizations_url":"https://api.github.com/users/crgwbr/orgs","repos_url":"https://api.github.com/users/crgwbr/repos","events_url":"https://api.github.com/users/crgwbr/events{/privacy}","received_events_url":"https://api.github.com/users/crgwbr/received_events","type":"User","site_admin":false},"repo":{"id":46568499,"name":"django-oscar-api","full_name":"crgwbr/django-oscar-api","owner":{"login":"crgwbr","id":173216,"avatar_url":"https://avatars.githubusercontent.com/u/173216?v=3","gravatar_id":"","url":"https://api.github.com/users/crgwbr","html_url":"https://github.com/crgwbr","followers_url":"https://api.github.com/users/crgwbr/followers","following_url":"https://api.github.com/users/crgwbr/following{/other_user}","gists_url":"https://api.github.com/users/crgwbr/gists{/gist_id}","starred_url":"https://api.github.com/users/crgwbr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crgwbr/subscriptions","organizations_url":"https://api.github.com/users/crgwbr/orgs","repos_url":"https://api.github.com/users/crgwbr/repos","events_url":"https://api.github.com/users/crgwbr/events{/privacy}","received_events_url":"https://api.github.com/users/crgwbr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crgwbr/django-oscar-api","description":"RESTful JSON API for django-oscar","fork":true,"url":"https://api.github.com/repos/crgwbr/django-oscar-api","forks_url":"https://api.github.com/repos/crgwbr/django-oscar-api/forks","keys_url":"https://api.github.com/repos/crgwbr/django-oscar-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crgwbr/django-oscar-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crgwbr/django-oscar-api/teams","hooks_url":"https://api.github.com/repos/crgwbr/django-oscar-api/hooks","issue_events_url":"https://api.github.com/repos/crgwbr/django-oscar-api/issues/events{/number}","events_url":"https://api.github.com/repos/crgwbr/django-oscar-api/events","assignees_url":"https://api.github.com/repos/crgwbr/django-oscar-api/assignees{/user}","branches_url":"https://api.github.com/repos/crgwbr/django-oscar-api/branches{/branch}","tags_url":"https://api.github.com/repos/crgwbr/django-oscar-api/tags","blobs_url":"https://api.github.com/repos/crgwbr/django-oscar-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crgwbr/django-oscar-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crgwbr/django-oscar-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/crgwbr/django-oscar-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crgwbr/django-oscar-api/statuses/{sha}","languages_url":"https://api.github.com/repos/crgwbr/django-oscar-api/languages","stargazers_url":"https://api.github.com/repos/crgwbr/django-oscar-api/stargazers","contributors_url":"https://api.github.com/repos/crgwbr/django-oscar-api/contributors","subscribers_url":"https://api.github.com/repos/crgwbr/django-oscar-api/subscribers","subscription_url":"https://api.github.com/repos/crgwbr/django-oscar-api/subscription","commits_url":"https://api.github.com/repos/crgwbr/django-oscar-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/crgwbr/django-oscar-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/crgwbr/django-oscar-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/crgwbr/django-oscar-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/crgwbr/django-oscar-api/contents/{+path}","compare_url":"https://api.github.com/repos/crgwbr/django-oscar-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crgwbr/django-oscar-api/merges","archive_url":"https://api.github.com/repos/crgwbr/django-oscar-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crgwbr/django-oscar-api/downloads","issues_url":"https://api.github.com/repos/crgwbr/django-oscar-api/issues{/number}","pulls_url":"https://api.github.com/repos/crgwbr/django-oscar-api/pulls{/number}","milestones_url":"https://api.github.com/repos/crgwbr/django-oscar-api/milestones{/number}","notifications_url":"https://api.github.com/repos/crgwbr/django-oscar-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crgwbr/django-oscar-api/labels{/name}","releases_url":"https://api.github.com/repos/crgwbr/django-oscar-api/releases{/id}","created_at":"2015-11-20T15:02:19Z","updated_at":"2015-11-20T15:02:20Z","pushed_at":"2015-12-21T17:55:50Z","git_url":"git://github.com/crgwbr/django-oscar-api.git","ssh_url":"git@github.com:crgwbr/django-oscar-api.git","clone_url":"https://github.com/crgwbr/django-oscar-api.git","svn_url":"https://github.com/crgwbr/django-oscar-api","homepage":null,"size":298,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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-oscar:master","ref":"master","sha":"ec8df2b43a664cad14c901e433782aba4a338ea3","user":{"login":"django-oscar","id":9057806,"avatar_url":"https://avatars.githubusercontent.com/u/9057806?v=3","gravatar_id":"","url":"https://api.github.com/users/django-oscar","html_url":"https://github.com/django-oscar","followers_url":"https://api.github.com/users/django-oscar/followers","following_url":"https://api.github.com/users/django-oscar/following{/other_user}","gists_url":"https://api.github.com/users/django-oscar/gists{/gist_id}","starred_url":"https://api.github.com/users/django-oscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-oscar/subscriptions","organizations_url":"https://api.github.com/users/django-oscar/orgs","repos_url":"https://api.github.com/users/django-oscar/repos","events_url":"https://api.github.com/users/django-oscar/events{/privacy}","received_events_url":"https://api.github.com/users/django-oscar/received_events","type":"Organization","site_admin":false},"repo":{"id":8760389,"name":"django-oscar-api","full_name":"django-oscar/django-oscar-api","owner":{"login":"django-oscar","id":9057806,"avatar_url":"https://avatars.githubusercontent.com/u/9057806?v=3","gravatar_id":"","url":"https://api.github.com/users/django-oscar","html_url":"https://github.com/django-oscar","followers_url":"https://api.github.com/users/django-oscar/followers","following_url":"https://api.github.com/users/django-oscar/following{/other_user}","gists_url":"https://api.github.com/users/django-oscar/gists{/gist_id}","starred_url":"https://api.github.com/users/django-oscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-oscar/subscriptions","organizations_url":"https://api.github.com/users/django-oscar/orgs","repos_url":"https://api.github.com/users/django-oscar/repos","events_url":"https://api.github.com/users/django-oscar/events{/privacy}","received_events_url":"https://api.github.com/users/django-oscar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django-oscar/django-oscar-api","description":"RESTful JSON API for django-oscar","fork":false,"url":"https://api.github.com/repos/django-oscar/django-oscar-api","forks_url":"https://api.github.com/repos/django-oscar/django-oscar-api/forks","keys_url":"https://api.github.com/repos/django-oscar/django-oscar-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django-oscar/django-oscar-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django-oscar/django-oscar-api/teams","hooks_url":"https://api.github.com/repos/django-oscar/django-oscar-api/hooks","issue_events_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/events{/number}","events_url":"https://api.github.com/repos/django-oscar/django-oscar-api/events","assignees_url":"https://api.github.com/repos/django-oscar/django-oscar-api/assignees{/user}","branches_url":"https://api.github.com/repos/django-oscar/django-oscar-api/branches{/branch}","tags_url":"https://api.github.com/repos/django-oscar/django-oscar-api/tags","blobs_url":"https://api.github.com/repos/django-oscar/django-oscar-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django-oscar/django-oscar-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django-oscar/django-oscar-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/django-oscar/django-oscar-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django-oscar/django-oscar-api/statuses/{sha}","languages_url":"https://api.github.com/repos/django-oscar/django-oscar-api/languages","stargazers_url":"https://api.github.com/repos/django-oscar/django-oscar-api/stargazers","contributors_url":"https://api.github.com/repos/django-oscar/django-oscar-api/contributors","subscribers_url":"https://api.github.com/repos/django-oscar/django-oscar-api/subscribers","subscription_url":"https://api.github.com/repos/django-oscar/django-oscar-api/subscription","commits_url":"https://api.github.com/repos/django-oscar/django-oscar-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/django-oscar/django-oscar-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/django-oscar/django-oscar-api/contents/{+path}","compare_url":"https://api.github.com/repos/django-oscar/django-oscar-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django-oscar/django-oscar-api/merges","archive_url":"https://api.github.com/repos/django-oscar/django-oscar-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django-oscar/django-oscar-api/downloads","issues_url":"https://api.github.com/repos/django-oscar/django-oscar-api/issues{/number}","pulls_url":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls{/number}","milestones_url":"https://api.github.com/repos/django-oscar/django-oscar-api/milestones{/number}","notifications_url":"https://api.github.com/repos/django-oscar/django-oscar-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django-oscar/django-oscar-api/labels{/name}","releases_url":"https://api.github.com/repos/django-oscar/django-oscar-api/releases{/id}","created_at":"2013-03-13T20:05:58Z","updated_at":"2015-12-21T17:00:30Z","pushed_at":"2015-12-22T18:37:22Z","git_url":"git://github.com/django-oscar/django-oscar-api.git","ssh_url":"git@github.com:django-oscar/django-oscar-api.git","clone_url":"https://github.com/django-oscar/django-oscar-api.git","svn_url":"https://github.com/django-oscar/django-oscar-api","homepage":null,"size":333,"stargazers_count":49,"watchers_count":49,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":12,"forks":19,"open_issues":12,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48"},"html":{"href":"https://github.com/django-oscar/django-oscar-api/pull/48"},"issue":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/48"},"comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/django-oscar/django-oscar-api/statuses/95a1d2f45db7c8c50963f5dc9c56ceb0616fb16a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"specialunderwear","id":52858,"avatar_url":"https://avatars.githubusercontent.com/u/52858?v=3","gravatar_id":"","url":"https://api.github.com/users/specialunderwear","html_url":"https://github.com/specialunderwear","followers_url":"https://api.github.com/users/specialunderwear/followers","following_url":"https://api.github.com/users/specialunderwear/following{/other_user}","gists_url":"https://api.github.com/users/specialunderwear/gists{/gist_id}","starred_url":"https://api.github.com/users/specialunderwear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/specialunderwear/subscriptions","organizations_url":"https://api.github.com/users/specialunderwear/orgs","repos_url":"https://api.github.com/users/specialunderwear/repos","events_url":"https://api.github.com/users/specialunderwear/events{/privacy}","received_events_url":"https://api.github.com/users/specialunderwear/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}