{"action":"created","comment":{"url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/comments/47486185","id":47486185,"diff_hunk":"@@ -0,0 +1,18 @@\n+from django.db import models\n+from django.contrib.auth.models import User\n+\n+class Product(models.Model):\n+\tname = models.CharField(max_length = 200)\n+\tdiscription = models.CharField(max_length = 600)\n+\tprice = models.CharField(max_length = 50)\n+\tusers = models.ManyToManyField(User, through='Order')\n+\timage = models.ImageField(upload_to = 'static/images', default = 'static/images/default_product.png', blank = False)\n+\n+\tdef __str__(self):","path":"shopsite/shop/models.py","position":11,"original_position":11,"commit_id":"4f00fd98c6207004cef50496e1a8d2db47596bcb","original_commit_id":"4f00fd98c6207004cef50496e1a8d2db47596bcb","user":{"login":"alekseyC64","id":4508216,"avatar_url":"https://avatars.githubusercontent.com/u/4508216?v=3","gravatar_id":"","url":"https://api.github.com/users/alekseyC64","html_url":"https://github.com/alekseyC64","followers_url":"https://api.github.com/users/alekseyC64/followers","following_url":"https://api.github.com/users/alekseyC64/following{/other_user}","gists_url":"https://api.github.com/users/alekseyC64/gists{/gist_id}","starred_url":"https://api.github.com/users/alekseyC64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alekseyC64/subscriptions","organizations_url":"https://api.github.com/users/alekseyC64/orgs","repos_url":"https://api.github.com/users/alekseyC64/repos","events_url":"https://api.github.com/users/alekseyC64/events{/privacy}","received_events_url":"https://api.github.com/users/alekseyC64/received_events","type":"User","site_admin":false},"body":"what version of Python do you use? Please ensure that it's 2.7.*","created_at":"2015-12-14T11:19:29Z","updated_at":"2015-12-14T11:19:29Z","html_url":"https://github.com/mikhail-hatsilau/shop/pull/1#discussion_r47486185","pull_request_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/comments/47486185"},"html":{"href":"https://github.com/mikhail-hatsilau/shop/pull/1#discussion_r47486185"},"pull_request":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1","id":53550941,"html_url":"https://github.com/mikhail-hatsilau/shop/pull/1","diff_url":"https://github.com/mikhail-hatsilau/shop/pull/1.diff","patch_url":"https://github.com/mikhail-hatsilau/shop/pull/1.patch","issue_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/1","number":1,"state":"open","locked":false,"title":"Project has been added","user":{"login":"mikhail-hatsilau","id":16209898,"avatar_url":"https://avatars.githubusercontent.com/u/16209898?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-hatsilau","html_url":"https://github.com/mikhail-hatsilau","followers_url":"https://api.github.com/users/mikhail-hatsilau/followers","following_url":"https://api.github.com/users/mikhail-hatsilau/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-hatsilau/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-hatsilau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-hatsilau/subscriptions","organizations_url":"https://api.github.com/users/mikhail-hatsilau/orgs","repos_url":"https://api.github.com/users/mikhail-hatsilau/repos","events_url":"https://api.github.com/users/mikhail-hatsilau/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-hatsilau/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T11:08:07Z","updated_at":"2015-12-14T11:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1633c877720332aee7a3b7f2f94503c5530d423a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/1/comments","statuses_url":"https://api.github.com/repos/mikhail-hatsilau/shop/statuses/4f00fd98c6207004cef50496e1a8d2db47596bcb","head":{"label":"mikhail-hatsilau:dev","ref":"dev","sha":"4f00fd98c6207004cef50496e1a8d2db47596bcb","user":{"login":"mikhail-hatsilau","id":16209898,"avatar_url":"https://avatars.githubusercontent.com/u/16209898?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-hatsilau","html_url":"https://github.com/mikhail-hatsilau","followers_url":"https://api.github.com/users/mikhail-hatsilau/followers","following_url":"https://api.github.com/users/mikhail-hatsilau/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-hatsilau/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-hatsilau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-hatsilau/subscriptions","organizations_url":"https://api.github.com/users/mikhail-hatsilau/orgs","repos_url":"https://api.github.com/users/mikhail-hatsilau/repos","events_url":"https://api.github.com/users/mikhail-hatsilau/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-hatsilau/received_events","type":"User","site_admin":false},"repo":{"id":47686179,"name":"shop","full_name":"mikhail-hatsilau/shop","owner":{"login":"mikhail-hatsilau","id":16209898,"avatar_url":"https://avatars.githubusercontent.com/u/16209898?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-hatsilau","html_url":"https://github.com/mikhail-hatsilau","followers_url":"https://api.github.com/users/mikhail-hatsilau/followers","following_url":"https://api.github.com/users/mikhail-hatsilau/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-hatsilau/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-hatsilau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-hatsilau/subscriptions","organizations_url":"https://api.github.com/users/mikhail-hatsilau/orgs","repos_url":"https://api.github.com/users/mikhail-hatsilau/repos","events_url":"https://api.github.com/users/mikhail-hatsilau/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-hatsilau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikhail-hatsilau/shop","description":"","fork":false,"url":"https://api.github.com/repos/mikhail-hatsilau/shop","forks_url":"https://api.github.com/repos/mikhail-hatsilau/shop/forks","keys_url":"https://api.github.com/repos/mikhail-hatsilau/shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikhail-hatsilau/shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikhail-hatsilau/shop/teams","hooks_url":"https://api.github.com/repos/mikhail-hatsilau/shop/hooks","issue_events_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/events{/number}","events_url":"https://api.github.com/repos/mikhail-hatsilau/shop/events","assignees_url":"https://api.github.com/repos/mikhail-hatsilau/shop/assignees{/user}","branches_url":"https://api.github.com/repos/mikhail-hatsilau/shop/branches{/branch}","tags_url":"https://api.github.com/repos/mikhail-hatsilau/shop/tags","blobs_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikhail-hatsilau/shop/statuses/{sha}","languages_url":"https://api.github.com/repos/mikhail-hatsilau/shop/languages","stargazers_url":"https://api.github.com/repos/mikhail-hatsilau/shop/stargazers","contributors_url":"https://api.github.com/repos/mikhail-hatsilau/shop/contributors","subscribers_url":"https://api.github.com/repos/mikhail-hatsilau/shop/subscribers","subscription_url":"https://api.github.com/repos/mikhail-hatsilau/shop/subscription","commits_url":"https://api.github.com/repos/mikhail-hatsilau/shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikhail-hatsilau/shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikhail-hatsilau/shop/contents/{+path}","compare_url":"https://api.github.com/repos/mikhail-hatsilau/shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikhail-hatsilau/shop/merges","archive_url":"https://api.github.com/repos/mikhail-hatsilau/shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikhail-hatsilau/shop/downloads","issues_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues{/number}","pulls_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls{/number}","milestones_url":"https://api.github.com/repos/mikhail-hatsilau/shop/milestones{/number}","notifications_url":"https://api.github.com/repos/mikhail-hatsilau/shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikhail-hatsilau/shop/labels{/name}","releases_url":"https://api.github.com/repos/mikhail-hatsilau/shop/releases{/id}","created_at":"2015-12-09T11:03:19Z","updated_at":"2015-12-09T11:03:19Z","pushed_at":"2015-12-14T11:08:07Z","git_url":"git://github.com/mikhail-hatsilau/shop.git","ssh_url":"git@github.com:mikhail-hatsilau/shop.git","clone_url":"https://github.com/mikhail-hatsilau/shop.git","svn_url":"https://github.com/mikhail-hatsilau/shop","homepage":null,"size":505,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mikhail-hatsilau:master","ref":"master","sha":"d8a0fc81bdbb599d4c19265a76803d7760a168df","user":{"login":"mikhail-hatsilau","id":16209898,"avatar_url":"https://avatars.githubusercontent.com/u/16209898?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-hatsilau","html_url":"https://github.com/mikhail-hatsilau","followers_url":"https://api.github.com/users/mikhail-hatsilau/followers","following_url":"https://api.github.com/users/mikhail-hatsilau/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-hatsilau/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-hatsilau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-hatsilau/subscriptions","organizations_url":"https://api.github.com/users/mikhail-hatsilau/orgs","repos_url":"https://api.github.com/users/mikhail-hatsilau/repos","events_url":"https://api.github.com/users/mikhail-hatsilau/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-hatsilau/received_events","type":"User","site_admin":false},"repo":{"id":47686179,"name":"shop","full_name":"mikhail-hatsilau/shop","owner":{"login":"mikhail-hatsilau","id":16209898,"avatar_url":"https://avatars.githubusercontent.com/u/16209898?v=3","gravatar_id":"","url":"https://api.github.com/users/mikhail-hatsilau","html_url":"https://github.com/mikhail-hatsilau","followers_url":"https://api.github.com/users/mikhail-hatsilau/followers","following_url":"https://api.github.com/users/mikhail-hatsilau/following{/other_user}","gists_url":"https://api.github.com/users/mikhail-hatsilau/gists{/gist_id}","starred_url":"https://api.github.com/users/mikhail-hatsilau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikhail-hatsilau/subscriptions","organizations_url":"https://api.github.com/users/mikhail-hatsilau/orgs","repos_url":"https://api.github.com/users/mikhail-hatsilau/repos","events_url":"https://api.github.com/users/mikhail-hatsilau/events{/privacy}","received_events_url":"https://api.github.com/users/mikhail-hatsilau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikhail-hatsilau/shop","description":"","fork":false,"url":"https://api.github.com/repos/mikhail-hatsilau/shop","forks_url":"https://api.github.com/repos/mikhail-hatsilau/shop/forks","keys_url":"https://api.github.com/repos/mikhail-hatsilau/shop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikhail-hatsilau/shop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikhail-hatsilau/shop/teams","hooks_url":"https://api.github.com/repos/mikhail-hatsilau/shop/hooks","issue_events_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/events{/number}","events_url":"https://api.github.com/repos/mikhail-hatsilau/shop/events","assignees_url":"https://api.github.com/repos/mikhail-hatsilau/shop/assignees{/user}","branches_url":"https://api.github.com/repos/mikhail-hatsilau/shop/branches{/branch}","tags_url":"https://api.github.com/repos/mikhail-hatsilau/shop/tags","blobs_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikhail-hatsilau/shop/statuses/{sha}","languages_url":"https://api.github.com/repos/mikhail-hatsilau/shop/languages","stargazers_url":"https://api.github.com/repos/mikhail-hatsilau/shop/stargazers","contributors_url":"https://api.github.com/repos/mikhail-hatsilau/shop/contributors","subscribers_url":"https://api.github.com/repos/mikhail-hatsilau/shop/subscribers","subscription_url":"https://api.github.com/repos/mikhail-hatsilau/shop/subscription","commits_url":"https://api.github.com/repos/mikhail-hatsilau/shop/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikhail-hatsilau/shop/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikhail-hatsilau/shop/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikhail-hatsilau/shop/contents/{+path}","compare_url":"https://api.github.com/repos/mikhail-hatsilau/shop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikhail-hatsilau/shop/merges","archive_url":"https://api.github.com/repos/mikhail-hatsilau/shop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikhail-hatsilau/shop/downloads","issues_url":"https://api.github.com/repos/mikhail-hatsilau/shop/issues{/number}","pulls_url":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls{/number}","milestones_url":"https://api.github.com/repos/mikhail-hatsilau/shop/milestones{/number}","notifications_url":"https://api.github.com/repos/mikhail-hatsilau/shop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikhail-hatsilau/shop/labels{/name}","releases_url":"https://api.github.com/repos/mikhail-hatsilau/shop/releases{/id}","created_at":"2015-12-09T11:03:19Z","updated_at":"2015-12-09T11:03:19Z","pushed_at":"2015-12-14T11:08:07Z","git_url":"git://github.com/mikhail-hatsilau/shop.git","ssh_url":"git@github.com:mikhail-hatsilau/shop.git","clone_url":"https://github.com/mikhail-hatsilau/shop.git","svn_url":"https://github.com/mikhail-hatsilau/shop","homepage":null,"size":505,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1"},"html":{"href":"https://github.com/mikhail-hatsilau/shop/pull/1"},"issue":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/1"},"comments":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mikhail-hatsilau/shop/statuses/4f00fd98c6207004cef50496e1a8d2db47596bcb"}}}}