{"action":"created","comment":{"url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/comments/43665382","id":43665382,"diff_hunk":"@@ -0,0 +1,55 @@\n+from flask import render_template, request, flash, redirect\n+from bookfinder import app\n+import scraper\n+from scraper import get_book_object_for_book_title\n+from .form import LoginForm","path":"bookfinder/purchase/views.py","position":5,"original_position":5,"commit_id":"78922ba1b8a13bba738f7e6bbb40980882ba4fe5","original_commit_id":"78922ba1b8a13bba738f7e6bbb40980882ba4fe5","user":{"login":"cshinaver","id":7769334,"avatar_url":"https://avatars.githubusercontent.com/u/7769334?v=3","gravatar_id":"","url":"https://api.github.com/users/cshinaver","html_url":"https://github.com/cshinaver","followers_url":"https://api.github.com/users/cshinaver/followers","following_url":"https://api.github.com/users/cshinaver/following{/other_user}","gists_url":"https://api.github.com/users/cshinaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cshinaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshinaver/subscriptions","organizations_url":"https://api.github.com/users/cshinaver/orgs","repos_url":"https://api.github.com/users/cshinaver/repos","events_url":"https://api.github.com/users/cshinaver/events{/privacy}","received_events_url":"https://api.github.com/users/cshinaver/received_events","type":"User","site_admin":false},"body":"[Relative imports](http://stackoverflow.com/questions/4209641/absolute-vs-explicit-relative-import-of-python-module) are bad. Can this be rewritten as `from bookfinder.purchase.forms import LoginForm`","created_at":"2015-11-02T18:54:25Z","updated_at":"2015-11-02T18:54:25Z","html_url":"https://github.com/cshinaver/BookFinder/pull/43#discussion_r43665382","pull_request_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/comments/43665382"},"html":{"href":"https://github.com/cshinaver/BookFinder/pull/43#discussion_r43665382"},"pull_request":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43","id":49462379,"html_url":"https://github.com/cshinaver/BookFinder/pull/43","diff_url":"https://github.com/cshinaver/BookFinder/pull/43.diff","patch_url":"https://github.com/cshinaver/BookFinder/pull/43.patch","issue_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/43","number":43,"state":"open","locked":false,"title":"User Purchase and Selling page","user":{"login":"mperez14","id":8965635,"avatar_url":"https://avatars.githubusercontent.com/u/8965635?v=3","gravatar_id":"","url":"https://api.github.com/users/mperez14","html_url":"https://github.com/mperez14","followers_url":"https://api.github.com/users/mperez14/followers","following_url":"https://api.github.com/users/mperez14/following{/other_user}","gists_url":"https://api.github.com/users/mperez14/gists{/gist_id}","starred_url":"https://api.github.com/users/mperez14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mperez14/subscriptions","organizations_url":"https://api.github.com/users/mperez14/orgs","repos_url":"https://api.github.com/users/mperez14/repos","events_url":"https://api.github.com/users/mperez14/events{/privacy}","received_events_url":"https://api.github.com/users/mperez14/received_events","type":"User","site_admin":false},"body":"- [ ] Create user purchase page in HTML \r\n- [ ] Purchase page has forms for adding things which add entires into database\r\n- [x] Seller page also has forms for adding things into database \r\n- [ ] Price comparisons on both Purchase page and Seller page (will require JS)","created_at":"2015-11-02T17:44:43Z","updated_at":"2015-11-02T18:54:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0febff44c4a0594ce215ebd8c973d428c8fba134","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43/commits","review_comments_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43/comments","review_comment_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/43/comments","statuses_url":"https://api.github.com/repos/cshinaver/BookFinder/statuses/78922ba1b8a13bba738f7e6bbb40980882ba4fe5","head":{"label":"cshinaver:issue_29","ref":"issue_29","sha":"78922ba1b8a13bba738f7e6bbb40980882ba4fe5","user":{"login":"cshinaver","id":7769334,"avatar_url":"https://avatars.githubusercontent.com/u/7769334?v=3","gravatar_id":"","url":"https://api.github.com/users/cshinaver","html_url":"https://github.com/cshinaver","followers_url":"https://api.github.com/users/cshinaver/followers","following_url":"https://api.github.com/users/cshinaver/following{/other_user}","gists_url":"https://api.github.com/users/cshinaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cshinaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshinaver/subscriptions","organizations_url":"https://api.github.com/users/cshinaver/orgs","repos_url":"https://api.github.com/users/cshinaver/repos","events_url":"https://api.github.com/users/cshinaver/events{/privacy}","received_events_url":"https://api.github.com/users/cshinaver/received_events","type":"User","site_admin":false},"repo":{"id":42416214,"name":"BookFinder","full_name":"cshinaver/BookFinder","owner":{"login":"cshinaver","id":7769334,"avatar_url":"https://avatars.githubusercontent.com/u/7769334?v=3","gravatar_id":"","url":"https://api.github.com/users/cshinaver","html_url":"https://github.com/cshinaver","followers_url":"https://api.github.com/users/cshinaver/followers","following_url":"https://api.github.com/users/cshinaver/following{/other_user}","gists_url":"https://api.github.com/users/cshinaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cshinaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshinaver/subscriptions","organizations_url":"https://api.github.com/users/cshinaver/orgs","repos_url":"https://api.github.com/users/cshinaver/repos","events_url":"https://api.github.com/users/cshinaver/events{/privacy}","received_events_url":"https://api.github.com/users/cshinaver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cshinaver/BookFinder","description":"BookFinder","fork":false,"url":"https://api.github.com/repos/cshinaver/BookFinder","forks_url":"https://api.github.com/repos/cshinaver/BookFinder/forks","keys_url":"https://api.github.com/repos/cshinaver/BookFinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cshinaver/BookFinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cshinaver/BookFinder/teams","hooks_url":"https://api.github.com/repos/cshinaver/BookFinder/hooks","issue_events_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/events{/number}","events_url":"https://api.github.com/repos/cshinaver/BookFinder/events","assignees_url":"https://api.github.com/repos/cshinaver/BookFinder/assignees{/user}","branches_url":"https://api.github.com/repos/cshinaver/BookFinder/branches{/branch}","tags_url":"https://api.github.com/repos/cshinaver/BookFinder/tags","blobs_url":"https://api.github.com/repos/cshinaver/BookFinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cshinaver/BookFinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cshinaver/BookFinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/cshinaver/BookFinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cshinaver/BookFinder/statuses/{sha}","languages_url":"https://api.github.com/repos/cshinaver/BookFinder/languages","stargazers_url":"https://api.github.com/repos/cshinaver/BookFinder/stargazers","contributors_url":"https://api.github.com/repos/cshinaver/BookFinder/contributors","subscribers_url":"https://api.github.com/repos/cshinaver/BookFinder/subscribers","subscription_url":"https://api.github.com/repos/cshinaver/BookFinder/subscription","commits_url":"https://api.github.com/repos/cshinaver/BookFinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/cshinaver/BookFinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/cshinaver/BookFinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/cshinaver/BookFinder/contents/{+path}","compare_url":"https://api.github.com/repos/cshinaver/BookFinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cshinaver/BookFinder/merges","archive_url":"https://api.github.com/repos/cshinaver/BookFinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cshinaver/BookFinder/downloads","issues_url":"https://api.github.com/repos/cshinaver/BookFinder/issues{/number}","pulls_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls{/number}","milestones_url":"https://api.github.com/repos/cshinaver/BookFinder/milestones{/number}","notifications_url":"https://api.github.com/repos/cshinaver/BookFinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cshinaver/BookFinder/labels{/name}","releases_url":"https://api.github.com/repos/cshinaver/BookFinder/releases{/id}","created_at":"2015-09-13T23:02:30Z","updated_at":"2015-10-11T18:22:25Z","pushed_at":"2015-11-02T18:37:15Z","git_url":"git://github.com/cshinaver/BookFinder.git","ssh_url":"git@github.com:cshinaver/BookFinder.git","clone_url":"https://github.com/cshinaver/BookFinder.git","svn_url":"https://github.com/cshinaver/BookFinder","homepage":"","size":844,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"cshinaver:master","ref":"master","sha":"cb55ee1775f2ce18044f8ef6e0b72ead9bdfd137","user":{"login":"cshinaver","id":7769334,"avatar_url":"https://avatars.githubusercontent.com/u/7769334?v=3","gravatar_id":"","url":"https://api.github.com/users/cshinaver","html_url":"https://github.com/cshinaver","followers_url":"https://api.github.com/users/cshinaver/followers","following_url":"https://api.github.com/users/cshinaver/following{/other_user}","gists_url":"https://api.github.com/users/cshinaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cshinaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshinaver/subscriptions","organizations_url":"https://api.github.com/users/cshinaver/orgs","repos_url":"https://api.github.com/users/cshinaver/repos","events_url":"https://api.github.com/users/cshinaver/events{/privacy}","received_events_url":"https://api.github.com/users/cshinaver/received_events","type":"User","site_admin":false},"repo":{"id":42416214,"name":"BookFinder","full_name":"cshinaver/BookFinder","owner":{"login":"cshinaver","id":7769334,"avatar_url":"https://avatars.githubusercontent.com/u/7769334?v=3","gravatar_id":"","url":"https://api.github.com/users/cshinaver","html_url":"https://github.com/cshinaver","followers_url":"https://api.github.com/users/cshinaver/followers","following_url":"https://api.github.com/users/cshinaver/following{/other_user}","gists_url":"https://api.github.com/users/cshinaver/gists{/gist_id}","starred_url":"https://api.github.com/users/cshinaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshinaver/subscriptions","organizations_url":"https://api.github.com/users/cshinaver/orgs","repos_url":"https://api.github.com/users/cshinaver/repos","events_url":"https://api.github.com/users/cshinaver/events{/privacy}","received_events_url":"https://api.github.com/users/cshinaver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cshinaver/BookFinder","description":"BookFinder","fork":false,"url":"https://api.github.com/repos/cshinaver/BookFinder","forks_url":"https://api.github.com/repos/cshinaver/BookFinder/forks","keys_url":"https://api.github.com/repos/cshinaver/BookFinder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cshinaver/BookFinder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cshinaver/BookFinder/teams","hooks_url":"https://api.github.com/repos/cshinaver/BookFinder/hooks","issue_events_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/events{/number}","events_url":"https://api.github.com/repos/cshinaver/BookFinder/events","assignees_url":"https://api.github.com/repos/cshinaver/BookFinder/assignees{/user}","branches_url":"https://api.github.com/repos/cshinaver/BookFinder/branches{/branch}","tags_url":"https://api.github.com/repos/cshinaver/BookFinder/tags","blobs_url":"https://api.github.com/repos/cshinaver/BookFinder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cshinaver/BookFinder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cshinaver/BookFinder/git/refs{/sha}","trees_url":"https://api.github.com/repos/cshinaver/BookFinder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cshinaver/BookFinder/statuses/{sha}","languages_url":"https://api.github.com/repos/cshinaver/BookFinder/languages","stargazers_url":"https://api.github.com/repos/cshinaver/BookFinder/stargazers","contributors_url":"https://api.github.com/repos/cshinaver/BookFinder/contributors","subscribers_url":"https://api.github.com/repos/cshinaver/BookFinder/subscribers","subscription_url":"https://api.github.com/repos/cshinaver/BookFinder/subscription","commits_url":"https://api.github.com/repos/cshinaver/BookFinder/commits{/sha}","git_commits_url":"https://api.github.com/repos/cshinaver/BookFinder/git/commits{/sha}","comments_url":"https://api.github.com/repos/cshinaver/BookFinder/comments{/number}","issue_comment_url":"https://api.github.com/repos/cshinaver/BookFinder/issues/comments{/number}","contents_url":"https://api.github.com/repos/cshinaver/BookFinder/contents/{+path}","compare_url":"https://api.github.com/repos/cshinaver/BookFinder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cshinaver/BookFinder/merges","archive_url":"https://api.github.com/repos/cshinaver/BookFinder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cshinaver/BookFinder/downloads","issues_url":"https://api.github.com/repos/cshinaver/BookFinder/issues{/number}","pulls_url":"https://api.github.com/repos/cshinaver/BookFinder/pulls{/number}","milestones_url":"https://api.github.com/repos/cshinaver/BookFinder/milestones{/number}","notifications_url":"https://api.github.com/repos/cshinaver/BookFinder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cshinaver/BookFinder/labels{/name}","releases_url":"https://api.github.com/repos/cshinaver/BookFinder/releases{/id}","created_at":"2015-09-13T23:02:30Z","updated_at":"2015-10-11T18:22:25Z","pushed_at":"2015-11-02T18:37:15Z","git_url":"git://github.com/cshinaver/BookFinder.git","ssh_url":"git@github.com:cshinaver/BookFinder.git","clone_url":"https://github.com/cshinaver/BookFinder.git","svn_url":"https://github.com/cshinaver/BookFinder","homepage":"","size":844,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43"},"html":{"href":"https://github.com/cshinaver/BookFinder/pull/43"},"issue":{"href":"https://api.github.com/repos/cshinaver/BookFinder/issues/43"},"comments":{"href":"https://api.github.com/repos/cshinaver/BookFinder/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cshinaver/BookFinder/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/cshinaver/BookFinder/statuses/78922ba1b8a13bba738f7e6bbb40980882ba4fe5"}}}}