{"action":"opened","number":1992,"pull_request":{"url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992","id":57905289,"html_url":"https://github.com/django-oscar/django-oscar/pull/1992","diff_url":"https://github.com/django-oscar/django-oscar/pull/1992.diff","patch_url":"https://github.com/django-oscar/django-oscar/pull/1992.patch","issue_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1992","number":1992,"state":"open","locked":false,"title":"Augment hidden features (take two)","user":{"login":"zbmott","id":8060543,"avatar_url":"https://avatars.githubusercontent.com/u/8060543?v=3","gravatar_id":"","url":"https://api.github.com/users/zbmott","html_url":"https://github.com/zbmott","followers_url":"https://api.github.com/users/zbmott/followers","following_url":"https://api.github.com/users/zbmott/following{/other_user}","gists_url":"https://api.github.com/users/zbmott/gists{/gist_id}","starred_url":"https://api.github.com/users/zbmott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbmott/subscriptions","organizations_url":"https://api.github.com/users/zbmott/orgs","repos_url":"https://api.github.com/users/zbmott/repos","events_url":"https://api.github.com/users/zbmott/events{/privacy}","received_events_url":"https://api.github.com/users/zbmott/received_events","type":"User","site_admin":false},"body":"This pull request provides the same functionality as #1990.  This one is better because it includes tests and has a cleaner commit history.  Otherwise, the same comments apply\r\n\r\nZachary Mott\r\nWeb Application Developer\r\n\r\nPS For completeness' sake, the comment I included on #1990 is reproduced below:\r\n\r\nMy organization is building our web store on top of Oscar. However, we have found that we don't want to enable reviews, wish lists, or product alerts initially. As of Oscar 1.1.1, we could only disable reviews using settings.OSCAR_HIDDEN_FEATURES. To this end, I have provided feature-hiding support for wish lists and product alerts by following the example set forth by catalogue.reviews.\r\n\r\nThis effort involved creating an app.py for customer.wishlists and customer.alerts, and hunting down references to these apps' URLs in templates and guarding them with {% iffeature %} tags.\r\n\r\nI am submitting this pull request against master per the contribution guidelines, but I would really like to backport these changes to Oscar 1.1. If that's acceptable, I can retarget this pull request to wherever it needs to go.\r\n\r\nThank you for providing such an excellent ecommerce framework on which to build. Oscar has saved me and my team countless hours of engineering -- it is excellent software.","created_at":"2016-02-01T21:47:31Z","updated_at":"2016-02-01T21:47:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992/commits","review_comments_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992/comments","review_comment_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1992/comments","statuses_url":"https://api.github.com/repos/django-oscar/django-oscar/statuses/7b4fb2f7ce17ac8dae3f82b1c99e6cadffb88911","head":{"label":"zbmott:augment-hidden-features","ref":"augment-hidden-features","sha":"7b4fb2f7ce17ac8dae3f82b1c99e6cadffb88911","user":{"login":"zbmott","id":8060543,"avatar_url":"https://avatars.githubusercontent.com/u/8060543?v=3","gravatar_id":"","url":"https://api.github.com/users/zbmott","html_url":"https://github.com/zbmott","followers_url":"https://api.github.com/users/zbmott/followers","following_url":"https://api.github.com/users/zbmott/following{/other_user}","gists_url":"https://api.github.com/users/zbmott/gists{/gist_id}","starred_url":"https://api.github.com/users/zbmott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbmott/subscriptions","organizations_url":"https://api.github.com/users/zbmott/orgs","repos_url":"https://api.github.com/users/zbmott/repos","events_url":"https://api.github.com/users/zbmott/events{/privacy}","received_events_url":"https://api.github.com/users/zbmott/received_events","type":"User","site_admin":false},"repo":{"id":50752733,"name":"django-oscar","full_name":"zbmott/django-oscar","owner":{"login":"zbmott","id":8060543,"avatar_url":"https://avatars.githubusercontent.com/u/8060543?v=3","gravatar_id":"","url":"https://api.github.com/users/zbmott","html_url":"https://github.com/zbmott","followers_url":"https://api.github.com/users/zbmott/followers","following_url":"https://api.github.com/users/zbmott/following{/other_user}","gists_url":"https://api.github.com/users/zbmott/gists{/gist_id}","starred_url":"https://api.github.com/users/zbmott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbmott/subscriptions","organizations_url":"https://api.github.com/users/zbmott/orgs","repos_url":"https://api.github.com/users/zbmott/repos","events_url":"https://api.github.com/users/zbmott/events{/privacy}","received_events_url":"https://api.github.com/users/zbmott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zbmott/django-oscar","description":"Domain-driven e-commerce for Django","fork":true,"url":"https://api.github.com/repos/zbmott/django-oscar","forks_url":"https://api.github.com/repos/zbmott/django-oscar/forks","keys_url":"https://api.github.com/repos/zbmott/django-oscar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zbmott/django-oscar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zbmott/django-oscar/teams","hooks_url":"https://api.github.com/repos/zbmott/django-oscar/hooks","issue_events_url":"https://api.github.com/repos/zbmott/django-oscar/issues/events{/number}","events_url":"https://api.github.com/repos/zbmott/django-oscar/events","assignees_url":"https://api.github.com/repos/zbmott/django-oscar/assignees{/user}","branches_url":"https://api.github.com/repos/zbmott/django-oscar/branches{/branch}","tags_url":"https://api.github.com/repos/zbmott/django-oscar/tags","blobs_url":"https://api.github.com/repos/zbmott/django-oscar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zbmott/django-oscar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zbmott/django-oscar/git/refs{/sha}","trees_url":"https://api.github.com/repos/zbmott/django-oscar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zbmott/django-oscar/statuses/{sha}","languages_url":"https://api.github.com/repos/zbmott/django-oscar/languages","stargazers_url":"https://api.github.com/repos/zbmott/django-oscar/stargazers","contributors_url":"https://api.github.com/repos/zbmott/django-oscar/contributors","subscribers_url":"https://api.github.com/repos/zbmott/django-oscar/subscribers","subscription_url":"https://api.github.com/repos/zbmott/django-oscar/subscription","commits_url":"https://api.github.com/repos/zbmott/django-oscar/commits{/sha}","git_commits_url":"https://api.github.com/repos/zbmott/django-oscar/git/commits{/sha}","comments_url":"https://api.github.com/repos/zbmott/django-oscar/comments{/number}","issue_comment_url":"https://api.github.com/repos/zbmott/django-oscar/issues/comments{/number}","contents_url":"https://api.github.com/repos/zbmott/django-oscar/contents/{+path}","compare_url":"https://api.github.com/repos/zbmott/django-oscar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zbmott/django-oscar/merges","archive_url":"https://api.github.com/repos/zbmott/django-oscar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zbmott/django-oscar/downloads","issues_url":"https://api.github.com/repos/zbmott/django-oscar/issues{/number}","pulls_url":"https://api.github.com/repos/zbmott/django-oscar/pulls{/number}","milestones_url":"https://api.github.com/repos/zbmott/django-oscar/milestones{/number}","notifications_url":"https://api.github.com/repos/zbmott/django-oscar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zbmott/django-oscar/labels{/name}","releases_url":"https://api.github.com/repos/zbmott/django-oscar/releases{/id}","deployments_url":"https://api.github.com/repos/zbmott/django-oscar/deployments","created_at":"2016-01-31T00:57:33Z","updated_at":"2016-01-31T00:57:36Z","pushed_at":"2016-02-01T21:42:57Z","git_url":"git://github.com/zbmott/django-oscar.git","ssh_url":"git@github.com:zbmott/django-oscar.git","clone_url":"https://github.com/zbmott/django-oscar.git","svn_url":"https://github.com/zbmott/django-oscar","homepage":"http://oscarcommerce.com","size":80093,"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":"ed2aa83da396923350fa148c8d157847b17545b3","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":1151051,"name":"django-oscar","full_name":"django-oscar/django-oscar","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","description":"Domain-driven e-commerce for Django","fork":false,"url":"https://api.github.com/repos/django-oscar/django-oscar","forks_url":"https://api.github.com/repos/django-oscar/django-oscar/forks","keys_url":"https://api.github.com/repos/django-oscar/django-oscar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django-oscar/django-oscar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django-oscar/django-oscar/teams","hooks_url":"https://api.github.com/repos/django-oscar/django-oscar/hooks","issue_events_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/events{/number}","events_url":"https://api.github.com/repos/django-oscar/django-oscar/events","assignees_url":"https://api.github.com/repos/django-oscar/django-oscar/assignees{/user}","branches_url":"https://api.github.com/repos/django-oscar/django-oscar/branches{/branch}","tags_url":"https://api.github.com/repos/django-oscar/django-oscar/tags","blobs_url":"https://api.github.com/repos/django-oscar/django-oscar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django-oscar/django-oscar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django-oscar/django-oscar/git/refs{/sha}","trees_url":"https://api.github.com/repos/django-oscar/django-oscar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django-oscar/django-oscar/statuses/{sha}","languages_url":"https://api.github.com/repos/django-oscar/django-oscar/languages","stargazers_url":"https://api.github.com/repos/django-oscar/django-oscar/stargazers","contributors_url":"https://api.github.com/repos/django-oscar/django-oscar/contributors","subscribers_url":"https://api.github.com/repos/django-oscar/django-oscar/subscribers","subscription_url":"https://api.github.com/repos/django-oscar/django-oscar/subscription","commits_url":"https://api.github.com/repos/django-oscar/django-oscar/commits{/sha}","git_commits_url":"https://api.github.com/repos/django-oscar/django-oscar/git/commits{/sha}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar/comments{/number}","issue_comment_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/comments{/number}","contents_url":"https://api.github.com/repos/django-oscar/django-oscar/contents/{+path}","compare_url":"https://api.github.com/repos/django-oscar/django-oscar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django-oscar/django-oscar/merges","archive_url":"https://api.github.com/repos/django-oscar/django-oscar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django-oscar/django-oscar/downloads","issues_url":"https://api.github.com/repos/django-oscar/django-oscar/issues{/number}","pulls_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls{/number}","milestones_url":"https://api.github.com/repos/django-oscar/django-oscar/milestones{/number}","notifications_url":"https://api.github.com/repos/django-oscar/django-oscar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django-oscar/django-oscar/labels{/name}","releases_url":"https://api.github.com/repos/django-oscar/django-oscar/releases{/id}","deployments_url":"https://api.github.com/repos/django-oscar/django-oscar/deployments","created_at":"2010-12-08T21:30:32Z","updated_at":"2016-02-01T14:02:34Z","pushed_at":"2016-01-31T20:59:17Z","git_url":"git://github.com/django-oscar/django-oscar.git","ssh_url":"git@github.com:django-oscar/django-oscar.git","clone_url":"https://github.com/django-oscar/django-oscar.git","svn_url":"https://github.com/django-oscar/django-oscar","homepage":"http://oscarcommerce.com","size":86876,"stargazers_count":1831,"watchers_count":1831,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":757,"mirror_url":null,"open_issues_count":239,"forks":757,"open_issues":239,"watchers":1831,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992"},"html":{"href":"https://github.com/django-oscar/django-oscar/pull/1992"},"issue":{"href":"https://api.github.com/repos/django-oscar/django-oscar/issues/1992"},"comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar/issues/1992/comments"},"review_comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992/comments"},"review_comment":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1992/commits"},"statuses":{"href":"https://api.github.com/repos/django-oscar/django-oscar/statuses/7b4fb2f7ce17ac8dae3f82b1c99e6cadffb88911"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":347,"deletions":139,"changed_files":9}}