{"action":"closed","number":1766,"pull_request":{"url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1766","id":36946023,"html_url":"https://github.com/django-oscar/django-oscar/pull/1766","diff_url":"https://github.com/django-oscar/django-oscar/pull/1766.diff","patch_url":"https://github.com/django-oscar/django-oscar/pull/1766.patch","issue_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/1766","number":1766,"state":"closed","locked":false,"title":"Fix validation message in basket","user":{"login":"monikasulik","id":3541250,"avatar_url":"https://avatars.githubusercontent.com/u/3541250?v=3","gravatar_id":"","url":"https://api.github.com/users/monikasulik","html_url":"https://github.com/monikasulik","followers_url":"https://api.github.com/users/monikasulik/followers","following_url":"https://api.github.com/users/monikasulik/following{/other_user}","gists_url":"https://api.github.com/users/monikasulik/gists{/gist_id}","starred_url":"https://api.github.com/users/monikasulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monikasulik/subscriptions","organizations_url":"https://api.github.com/users/monikasulik/orgs","repos_url":"https://api.github.com/users/monikasulik/repos","events_url":"https://api.github.com/users/monikasulik/events{/privacy}","received_events_url":"https://api.github.com/users/monikasulik/received_events","type":"User","site_admin":false},"body":"Fixes stockrecord availability validation message in the case when stock is lower than allocation. Previously the message that appeared contained negative numbers. For example: \"a maximum of -1 can be bought\". Now it will display: \"no stock available\"\r\n\r\nFixes #1765 ","created_at":"2015-06-04T15:26:56Z","updated_at":"2015-06-04T15:45:51Z","closed_at":"2015-06-04T15:45:51Z","merged_at":"2015-06-04T15:45:51Z","merge_commit_sha":"019f781d7295be8c9723be1f1f00893981d74042","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1766/commits","review_comments_url":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1766/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/1766/comments","statuses_url":"https://api.github.com/repos/django-oscar/django-oscar/statuses/86269f90925fb092a538d70a5e7c5a5a91340d77","head":{"label":"monikasulik:bugfix/1765_basket_message_bug","ref":"bugfix/1765_basket_message_bug","sha":"86269f90925fb092a538d70a5e7c5a5a91340d77","user":{"login":"monikasulik","id":3541250,"avatar_url":"https://avatars.githubusercontent.com/u/3541250?v=3","gravatar_id":"","url":"https://api.github.com/users/monikasulik","html_url":"https://github.com/monikasulik","followers_url":"https://api.github.com/users/monikasulik/followers","following_url":"https://api.github.com/users/monikasulik/following{/other_user}","gists_url":"https://api.github.com/users/monikasulik/gists{/gist_id}","starred_url":"https://api.github.com/users/monikasulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monikasulik/subscriptions","organizations_url":"https://api.github.com/users/monikasulik/orgs","repos_url":"https://api.github.com/users/monikasulik/repos","events_url":"https://api.github.com/users/monikasulik/events{/privacy}","received_events_url":"https://api.github.com/users/monikasulik/received_events","type":"User","site_admin":false},"repo":{"id":26547657,"name":"django-oscar","full_name":"monikasulik/django-oscar","owner":{"login":"monikasulik","id":3541250,"avatar_url":"https://avatars.githubusercontent.com/u/3541250?v=3","gravatar_id":"","url":"https://api.github.com/users/monikasulik","html_url":"https://github.com/monikasulik","followers_url":"https://api.github.com/users/monikasulik/followers","following_url":"https://api.github.com/users/monikasulik/following{/other_user}","gists_url":"https://api.github.com/users/monikasulik/gists{/gist_id}","starred_url":"https://api.github.com/users/monikasulik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monikasulik/subscriptions","organizations_url":"https://api.github.com/users/monikasulik/orgs","repos_url":"https://api.github.com/users/monikasulik/repos","events_url":"https://api.github.com/users/monikasulik/events{/privacy}","received_events_url":"https://api.github.com/users/monikasulik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monikasulik/django-oscar","description":"Domain-driven e-commerce for Django","fork":true,"url":"https://api.github.com/repos/monikasulik/django-oscar","forks_url":"https://api.github.com/repos/monikasulik/django-oscar/forks","keys_url":"https://api.github.com/repos/monikasulik/django-oscar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monikasulik/django-oscar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monikasulik/django-oscar/teams","hooks_url":"https://api.github.com/repos/monikasulik/django-oscar/hooks","issue_events_url":"https://api.github.com/repos/monikasulik/django-oscar/issues/events{/number}","events_url":"https://api.github.com/repos/monikasulik/django-oscar/events","assignees_url":"https://api.github.com/repos/monikasulik/django-oscar/assignees{/user}","branches_url":"https://api.github.com/repos/monikasulik/django-oscar/branches{/branch}","tags_url":"https://api.github.com/repos/monikasulik/django-oscar/tags","blobs_url":"https://api.github.com/repos/monikasulik/django-oscar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monikasulik/django-oscar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monikasulik/django-oscar/git/refs{/sha}","trees_url":"https://api.github.com/repos/monikasulik/django-oscar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monikasulik/django-oscar/statuses/{sha}","languages_url":"https://api.github.com/repos/monikasulik/django-oscar/languages","stargazers_url":"https://api.github.com/repos/monikasulik/django-oscar/stargazers","contributors_url":"https://api.github.com/repos/monikasulik/django-oscar/contributors","subscribers_url":"https://api.github.com/repos/monikasulik/django-oscar/subscribers","subscription_url":"https://api.github.com/repos/monikasulik/django-oscar/subscription","commits_url":"https://api.github.com/repos/monikasulik/django-oscar/commits{/sha}","git_commits_url":"https://api.github.com/repos/monikasulik/django-oscar/git/commits{/sha}","comments_url":"https://api.github.com/repos/monikasulik/django-oscar/comments{/number}","issue_comment_url":"https://api.github.com/repos/monikasulik/django-oscar/issues/comments{/number}","contents_url":"https://api.github.com/repos/monikasulik/django-oscar/contents/{+path}","compare_url":"https://api.github.com/repos/monikasulik/django-oscar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monikasulik/django-oscar/merges","archive_url":"https://api.github.com/repos/monikasulik/django-oscar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monikasulik/django-oscar/downloads","issues_url":"https://api.github.com/repos/monikasulik/django-oscar/issues{/number}","pulls_url":"https://api.github.com/repos/monikasulik/django-oscar/pulls{/number}","milestones_url":"https://api.github.com/repos/monikasulik/django-oscar/milestones{/number}","notifications_url":"https://api.github.com/repos/monikasulik/django-oscar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monikasulik/django-oscar/labels{/name}","releases_url":"https://api.github.com/repos/monikasulik/django-oscar/releases{/id}","created_at":"2014-11-12T17:31:56Z","updated_at":"2015-06-04T13:55:34Z","pushed_at":"2015-06-04T15:26:09Z","git_url":"git://github.com/monikasulik/django-oscar.git","ssh_url":"git@github.com:monikasulik/django-oscar.git","clone_url":"https://github.com/monikasulik/django-oscar.git","svn_url":"https://github.com/monikasulik/django-oscar","homepage":"http://oscarcommerce.com","size":75386,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"675989d0788cb84292ba002e82b5b108afe353c9","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}","created_at":"2010-12-08T21:30:32Z","updated_at":"2015-06-03T20:51:44Z","pushed_at":"2015-06-04T15:45:51Z","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":120277,"stargazers_count":1490,"watchers_count":1490,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":615,"mirror_url":null,"open_issues_count":184,"forks":615,"open_issues":184,"watchers":1490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1766"},"html":{"href":"https://github.com/django-oscar/django-oscar/pull/1766"},"issue":{"href":"https://api.github.com/repos/django-oscar/django-oscar/issues/1766"},"comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar/issues/1766/comments"},"review_comments":{"href":"https://api.github.com/repos/django-oscar/django-oscar/pulls/1766/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/1766/commits"},"statuses":{"href":"https://api.github.com/repos/django-oscar/django-oscar/statuses/86269f90925fb092a538d70a5e7c5a5a91340d77"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"maikhoepfel","id":509427,"avatar_url":"https://avatars.githubusercontent.com/u/509427?v=3","gravatar_id":"","url":"https://api.github.com/users/maikhoepfel","html_url":"https://github.com/maikhoepfel","followers_url":"https://api.github.com/users/maikhoepfel/followers","following_url":"https://api.github.com/users/maikhoepfel/following{/other_user}","gists_url":"https://api.github.com/users/maikhoepfel/gists{/gist_id}","starred_url":"https://api.github.com/users/maikhoepfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maikhoepfel/subscriptions","organizations_url":"https://api.github.com/users/maikhoepfel/orgs","repos_url":"https://api.github.com/users/maikhoepfel/repos","events_url":"https://api.github.com/users/maikhoepfel/events{/privacy}","received_events_url":"https://api.github.com/users/maikhoepfel/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":10,"deletions":2,"changed_files":2}}