{"action":"created","comment":{"url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/comments/46779433","id":46779433,"diff_hunk":"@@ -145,7 +167,7 @@ def add_fake_data(number_users):\n     Adds fake data to the database.\n     \"\"\"\n     User.generate_fake(count=number_users)\n-\n+    Listing.generate_fake_listings(count=number_users)","path":"manage.py","position":41,"original_position":41,"commit_id":"132ed507d8c3f3e4a5a23e98bd67fccdcf624a65","original_commit_id":"132ed507d8c3f3e4a5a23e98bd67fccdcf624a65","user":{"login":"jondubin","id":6806102,"avatar_url":"https://avatars.githubusercontent.com/u/6806102?v=3","gravatar_id":"","url":"https://api.github.com/users/jondubin","html_url":"https://github.com/jondubin","followers_url":"https://api.github.com/users/jondubin/followers","following_url":"https://api.github.com/users/jondubin/following{/other_user}","gists_url":"https://api.github.com/users/jondubin/gists{/gist_id}","starred_url":"https://api.github.com/users/jondubin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondubin/subscriptions","organizations_url":"https://api.github.com/users/jondubin/orgs","repos_url":"https://api.github.com/users/jondubin/repos","events_url":"https://api.github.com/users/jondubin/events{/privacy}","received_events_url":"https://api.github.com/users/jondubin/received_events","type":"User","site_admin":false},"body":"Where is `generate_fake_listings`? And we should separate the commands to generate users vs listings, or at least not use `number_users` for both","created_at":"2015-12-07T00:38:24Z","updated_at":"2015-12-07T00:38:24Z","html_url":"https://github.com/hack4impact/reading-terminal-market/pull/26#discussion_r46779433","pull_request_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/comments/46779433"},"html":{"href":"https://github.com/hack4impact/reading-terminal-market/pull/26#discussion_r46779433"},"pull_request":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26","id":52763482,"html_url":"https://github.com/hack4impact/reading-terminal-market/pull/26","diff_url":"https://github.com/hack4impact/reading-terminal-market/pull/26.diff","patch_url":"https://github.com/hack4impact/reading-terminal-market/pull/26.patch","issue_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/26","number":26,"state":"open","locked":false,"title":"Pagination and Ajax Notifications","user":{"login":"webfreak7","id":4992430,"avatar_url":"https://avatars.githubusercontent.com/u/4992430?v=3","gravatar_id":"","url":"https://api.github.com/users/webfreak7","html_url":"https://github.com/webfreak7","followers_url":"https://api.github.com/users/webfreak7/followers","following_url":"https://api.github.com/users/webfreak7/following{/other_user}","gists_url":"https://api.github.com/users/webfreak7/gists{/gist_id}","starred_url":"https://api.github.com/users/webfreak7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webfreak7/subscriptions","organizations_url":"https://api.github.com/users/webfreak7/orgs","repos_url":"https://api.github.com/users/webfreak7/repos","events_url":"https://api.github.com/users/webfreak7/events{/privacy}","received_events_url":"https://api.github.com/users/webfreak7/received_events","type":"User","site_admin":false},"body":"Implemented Pagination for merchant and vendors. \r\nKnown issues/needs more testing: Maintaining the correct pagination object (sometimes it can randomly forget that it is on a \"search\" pagination and return to the original page. Example. If I look up \"eggs\" and come up with like 3 pages of results, if I click on page 3, it may return a page that is what page 3 would normally look like if there aren't search terms). I have managed to fix a lot of the bugs that arose, but it would be best to run thru a few more cases to be sure:\r\n\r\nAdded success ajax messages. General ajax message for favoriting and increasing/decreasing quantities can be found in base.html.\r\n\r\nAlso, random files may have been imported and exported from other branches","created_at":"2015-12-05T20:15:27Z","updated_at":"2015-12-07T00:38:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5d29ea2ddc3ece5b284cc1359e0406fbd864a34","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26/commits","review_comments_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26/comments","review_comment_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/26/comments","statuses_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/statuses/132ed507d8c3f3e4a5a23e98bd67fccdcf624a65","head":{"label":"hack4impact:carts-and-paginate","ref":"carts-and-paginate","sha":"132ed507d8c3f3e4a5a23e98bd67fccdcf624a65","user":{"login":"hack4impact","id":9021093,"avatar_url":"https://avatars.githubusercontent.com/u/9021093?v=3","gravatar_id":"","url":"https://api.github.com/users/hack4impact","html_url":"https://github.com/hack4impact","followers_url":"https://api.github.com/users/hack4impact/followers","following_url":"https://api.github.com/users/hack4impact/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact/subscriptions","organizations_url":"https://api.github.com/users/hack4impact/orgs","repos_url":"https://api.github.com/users/hack4impact/repos","events_url":"https://api.github.com/users/hack4impact/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact/received_events","type":"Organization","site_admin":false},"repo":{"id":43617093,"name":"reading-terminal-market","full_name":"hack4impact/reading-terminal-market","owner":{"login":"hack4impact","id":9021093,"avatar_url":"https://avatars.githubusercontent.com/u/9021093?v=3","gravatar_id":"","url":"https://api.github.com/users/hack4impact","html_url":"https://github.com/hack4impact","followers_url":"https://api.github.com/users/hack4impact/followers","following_url":"https://api.github.com/users/hack4impact/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact/subscriptions","organizations_url":"https://api.github.com/users/hack4impact/orgs","repos_url":"https://api.github.com/users/hack4impact/repos","events_url":"https://api.github.com/users/hack4impact/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hack4impact/reading-terminal-market","description":"Procurement project for the Reading Terminal Market","fork":false,"url":"https://api.github.com/repos/hack4impact/reading-terminal-market","forks_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/forks","keys_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/teams","hooks_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/hooks","issue_events_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/events{/number}","events_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/events","assignees_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/assignees{/user}","branches_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/branches{/branch}","tags_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/tags","blobs_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/refs{/sha}","trees_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/statuses/{sha}","languages_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/languages","stargazers_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/stargazers","contributors_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/contributors","subscribers_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/subscribers","subscription_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/subscription","commits_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/commits{/sha}","git_commits_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/commits{/sha}","comments_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/comments{/number}","issue_comment_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/comments{/number}","contents_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/contents/{+path}","compare_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/merges","archive_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/downloads","issues_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues{/number}","pulls_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls{/number}","milestones_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/milestones{/number}","notifications_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/labels{/name}","releases_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/releases{/id}","created_at":"2015-10-03T22:20:36Z","updated_at":"2015-10-26T20:30:36Z","pushed_at":"2015-12-07T00:14:28Z","git_url":"git://github.com/hack4impact/reading-terminal-market.git","ssh_url":"git@github.com:hack4impact/reading-terminal-market.git","clone_url":"https://github.com/hack4impact/reading-terminal-market.git","svn_url":"https://github.com/hack4impact/reading-terminal-market","homepage":"","size":863,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"hack4impact:master","ref":"master","sha":"3a97b206d06d2c4f32e8ad34cfe3501b972154e3","user":{"login":"hack4impact","id":9021093,"avatar_url":"https://avatars.githubusercontent.com/u/9021093?v=3","gravatar_id":"","url":"https://api.github.com/users/hack4impact","html_url":"https://github.com/hack4impact","followers_url":"https://api.github.com/users/hack4impact/followers","following_url":"https://api.github.com/users/hack4impact/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact/subscriptions","organizations_url":"https://api.github.com/users/hack4impact/orgs","repos_url":"https://api.github.com/users/hack4impact/repos","events_url":"https://api.github.com/users/hack4impact/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact/received_events","type":"Organization","site_admin":false},"repo":{"id":43617093,"name":"reading-terminal-market","full_name":"hack4impact/reading-terminal-market","owner":{"login":"hack4impact","id":9021093,"avatar_url":"https://avatars.githubusercontent.com/u/9021093?v=3","gravatar_id":"","url":"https://api.github.com/users/hack4impact","html_url":"https://github.com/hack4impact","followers_url":"https://api.github.com/users/hack4impact/followers","following_url":"https://api.github.com/users/hack4impact/following{/other_user}","gists_url":"https://api.github.com/users/hack4impact/gists{/gist_id}","starred_url":"https://api.github.com/users/hack4impact/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hack4impact/subscriptions","organizations_url":"https://api.github.com/users/hack4impact/orgs","repos_url":"https://api.github.com/users/hack4impact/repos","events_url":"https://api.github.com/users/hack4impact/events{/privacy}","received_events_url":"https://api.github.com/users/hack4impact/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hack4impact/reading-terminal-market","description":"Procurement project for the Reading Terminal Market","fork":false,"url":"https://api.github.com/repos/hack4impact/reading-terminal-market","forks_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/forks","keys_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/teams","hooks_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/hooks","issue_events_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/events{/number}","events_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/events","assignees_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/assignees{/user}","branches_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/branches{/branch}","tags_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/tags","blobs_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/refs{/sha}","trees_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/statuses/{sha}","languages_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/languages","stargazers_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/stargazers","contributors_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/contributors","subscribers_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/subscribers","subscription_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/subscription","commits_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/commits{/sha}","git_commits_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/git/commits{/sha}","comments_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/comments{/number}","issue_comment_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/comments{/number}","contents_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/contents/{+path}","compare_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/merges","archive_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/downloads","issues_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues{/number}","pulls_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls{/number}","milestones_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/milestones{/number}","notifications_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/labels{/name}","releases_url":"https://api.github.com/repos/hack4impact/reading-terminal-market/releases{/id}","created_at":"2015-10-03T22:20:36Z","updated_at":"2015-10-26T20:30:36Z","pushed_at":"2015-12-07T00:14:28Z","git_url":"git://github.com/hack4impact/reading-terminal-market.git","ssh_url":"git@github.com:hack4impact/reading-terminal-market.git","clone_url":"https://github.com/hack4impact/reading-terminal-market.git","svn_url":"https://github.com/hack4impact/reading-terminal-market","homepage":"","size":863,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26"},"html":{"href":"https://github.com/hack4impact/reading-terminal-market/pull/26"},"issue":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/26"},"comments":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/hack4impact/reading-terminal-market/statuses/132ed507d8c3f3e4a5a23e98bd67fccdcf624a65"}}}}