{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37","id":210554006,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwNTU0MDA2","html_url":"https://github.com/Hypnotic-Herons/sprint-3/pull/37","diff_url":"https://github.com/Hypnotic-Herons/sprint-3/pull/37.diff","patch_url":"https://github.com/Hypnotic-Herons/sprint-3/pull/37.patch","issue_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/37","number":37,"state":"closed","locked":false,"title":"added category model","user":{"login":"Deanna2000","id":4274592,"node_id":"MDQ6VXNlcjQyNzQ1OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4274592?v=4","gravatar_id":"","url":"https://api.github.com/users/Deanna2000","html_url":"https://github.com/Deanna2000","followers_url":"https://api.github.com/users/Deanna2000/followers","following_url":"https://api.github.com/users/Deanna2000/following{/other_user}","gists_url":"https://api.github.com/users/Deanna2000/gists{/gist_id}","starred_url":"https://api.github.com/users/Deanna2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deanna2000/subscriptions","organizations_url":"https://api.github.com/users/Deanna2000/orgs","repos_url":"https://api.github.com/users/Deanna2000/repos","events_url":"https://api.github.com/users/Deanna2000/events{/privacy}","received_events_url":"https://api.github.com/users/Deanna2000/received_events","type":"User","site_admin":false},"body":"## Link to Ticket\r\nCloses #7\r\n \r\n## Description of Proposed Changes\r\n- user can select a category from the drop down field when they are selling a product\r\n\r\n## Steps to Test\r\n\r\nOutline the steps to test\r\n\r\n```\r\ngit fetch --all\r\ngit checkout DVselectCategory\r\ncode .\r\n\r\n```\r\n\r\n1. navigate to the root\r\n1. python manage.py makemigrations website\r\n1. python manage.py migrate\r\n1. in DB Browser, add a few categories\r\n1. python manage.py runserver\r\n1. login or register on view http://127.0.0.1:8000/\r\n1. click on sell a product\r\n1. fill in all fields and select a category from the drop down\r\n1. check the db to see the product that was added and verify that a category id was populated\r\n\r\n## Impacted Areas in Application\r\n\r\n- browser views for user to add a category to a new product\r\n\r\n\r\n## Definition of Done\r\n\r\n1. The project must be fully documented. This includes the following:\r\n    1. Complete README that documents the steps to install the code, how to install any dependencies, or system configuration needed.\r\n    1. Every class must be documented with purpose, author, and methods.\r\n    1. Every method must be documented with purpose and argument list - which itself must contain a short purpose for each argument.\r\n1. The project must be able to run fully, and without errors, on each teammate's system.\r\n1. Fulfills every requirement.\r\nEvery line of code has been peer reviewed.\r\n1. For projects that require unit testing, core functionality must be identified and have at least one test for each.","created_at":"2018-08-23T19:37:40Z","updated_at":"2018-08-23T20:03:47Z","closed_at":"2018-08-23T20:03:47Z","merged_at":"2018-08-23T20:03:47Z","merge_commit_sha":"a8538bb78e6abdce0f110f94fd58fa367e3aa4a0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37/commits","review_comments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37/comments","review_comment_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/37/comments","statuses_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/statuses/c3d7ab294e77e42d0d0507bee2982297818c6bbd","head":{"label":"Hypnotic-Herons:DVselectCategory","ref":"DVselectCategory","sha":"c3d7ab294e77e42d0d0507bee2982297818c6bbd","user":{"login":"Hypnotic-Herons","id":41638767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjM4NzY3","avatar_url":"https://avatars3.githubusercontent.com/u/41638767?v=4","gravatar_id":"","url":"https://api.github.com/users/Hypnotic-Herons","html_url":"https://github.com/Hypnotic-Herons","followers_url":"https://api.github.com/users/Hypnotic-Herons/followers","following_url":"https://api.github.com/users/Hypnotic-Herons/following{/other_user}","gists_url":"https://api.github.com/users/Hypnotic-Herons/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypnotic-Herons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypnotic-Herons/subscriptions","organizations_url":"https://api.github.com/users/Hypnotic-Herons/orgs","repos_url":"https://api.github.com/users/Hypnotic-Herons/repos","events_url":"https://api.github.com/users/Hypnotic-Herons/events{/privacy}","received_events_url":"https://api.github.com/users/Hypnotic-Herons/received_events","type":"Organization","site_admin":false},"repo":{"id":145003408,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwMDM0MDg=","name":"sprint-3","full_name":"Hypnotic-Herons/sprint-3","owner":{"login":"Hypnotic-Herons","id":41638767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjM4NzY3","avatar_url":"https://avatars3.githubusercontent.com/u/41638767?v=4","gravatar_id":"","url":"https://api.github.com/users/Hypnotic-Herons","html_url":"https://github.com/Hypnotic-Herons","followers_url":"https://api.github.com/users/Hypnotic-Herons/followers","following_url":"https://api.github.com/users/Hypnotic-Herons/following{/other_user}","gists_url":"https://api.github.com/users/Hypnotic-Herons/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypnotic-Herons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypnotic-Herons/subscriptions","organizations_url":"https://api.github.com/users/Hypnotic-Herons/orgs","repos_url":"https://api.github.com/users/Hypnotic-Herons/repos","events_url":"https://api.github.com/users/Hypnotic-Herons/events{/privacy}","received_events_url":"https://api.github.com/users/Hypnotic-Herons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hypnotic-Herons/sprint-3","description":null,"fork":false,"url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3","forks_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/forks","keys_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/teams","hooks_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/hooks","issue_events_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/events{/number}","events_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/events","assignees_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/assignees{/user}","branches_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/branches{/branch}","tags_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/tags","blobs_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/statuses/{sha}","languages_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/languages","stargazers_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/stargazers","contributors_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/contributors","subscribers_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/subscribers","subscription_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/subscription","commits_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/contents/{+path}","compare_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/merges","archive_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/downloads","issues_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues{/number}","pulls_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls{/number}","milestones_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/milestones{/number}","notifications_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/labels{/name}","releases_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/releases{/id}","deployments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/deployments","created_at":"2018-08-16T15:01:09Z","updated_at":"2018-08-23T19:36:05Z","pushed_at":"2018-08-23T20:03:47Z","git_url":"git://github.com/Hypnotic-Herons/sprint-3.git","ssh_url":"git@github.com:Hypnotic-Herons/sprint-3.git","clone_url":"https://github.com/Hypnotic-Herons/sprint-3.git","svn_url":"https://github.com/Hypnotic-Herons/sprint-3","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"base":{"label":"Hypnotic-Herons:master","ref":"master","sha":"f6c8085cc0bcf01006d449720098f2a255cb4f48","user":{"login":"Hypnotic-Herons","id":41638767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjM4NzY3","avatar_url":"https://avatars3.githubusercontent.com/u/41638767?v=4","gravatar_id":"","url":"https://api.github.com/users/Hypnotic-Herons","html_url":"https://github.com/Hypnotic-Herons","followers_url":"https://api.github.com/users/Hypnotic-Herons/followers","following_url":"https://api.github.com/users/Hypnotic-Herons/following{/other_user}","gists_url":"https://api.github.com/users/Hypnotic-Herons/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypnotic-Herons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypnotic-Herons/subscriptions","organizations_url":"https://api.github.com/users/Hypnotic-Herons/orgs","repos_url":"https://api.github.com/users/Hypnotic-Herons/repos","events_url":"https://api.github.com/users/Hypnotic-Herons/events{/privacy}","received_events_url":"https://api.github.com/users/Hypnotic-Herons/received_events","type":"Organization","site_admin":false},"repo":{"id":145003408,"node_id":"MDEwOlJlcG9zaXRvcnkxNDUwMDM0MDg=","name":"sprint-3","full_name":"Hypnotic-Herons/sprint-3","owner":{"login":"Hypnotic-Herons","id":41638767,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxNjM4NzY3","avatar_url":"https://avatars3.githubusercontent.com/u/41638767?v=4","gravatar_id":"","url":"https://api.github.com/users/Hypnotic-Herons","html_url":"https://github.com/Hypnotic-Herons","followers_url":"https://api.github.com/users/Hypnotic-Herons/followers","following_url":"https://api.github.com/users/Hypnotic-Herons/following{/other_user}","gists_url":"https://api.github.com/users/Hypnotic-Herons/gists{/gist_id}","starred_url":"https://api.github.com/users/Hypnotic-Herons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hypnotic-Herons/subscriptions","organizations_url":"https://api.github.com/users/Hypnotic-Herons/orgs","repos_url":"https://api.github.com/users/Hypnotic-Herons/repos","events_url":"https://api.github.com/users/Hypnotic-Herons/events{/privacy}","received_events_url":"https://api.github.com/users/Hypnotic-Herons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Hypnotic-Herons/sprint-3","description":null,"fork":false,"url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3","forks_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/forks","keys_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/teams","hooks_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/hooks","issue_events_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/events{/number}","events_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/events","assignees_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/assignees{/user}","branches_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/branches{/branch}","tags_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/tags","blobs_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/statuses/{sha}","languages_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/languages","stargazers_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/stargazers","contributors_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/contributors","subscribers_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/subscribers","subscription_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/subscription","commits_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/contents/{+path}","compare_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/merges","archive_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/downloads","issues_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues{/number}","pulls_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls{/number}","milestones_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/milestones{/number}","notifications_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/labels{/name}","releases_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/releases{/id}","deployments_url":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/deployments","created_at":"2018-08-16T15:01:09Z","updated_at":"2018-08-23T19:36:05Z","pushed_at":"2018-08-23T20:03:47Z","git_url":"git://github.com/Hypnotic-Herons/sprint-3.git","ssh_url":"git@github.com:Hypnotic-Herons/sprint-3.git","clone_url":"https://github.com/Hypnotic-Herons/sprint-3.git","svn_url":"https://github.com/Hypnotic-Herons/sprint-3","homepage":null,"size":92,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37"},"html":{"href":"https://github.com/Hypnotic-Herons/sprint-3/pull/37"},"issue":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/37"},"comments":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/Hypnotic-Herons/sprint-3/statuses/c3d7ab294e77e42d0d0507bee2982297818c6bbd"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Deanna2000","id":4274592,"node_id":"MDQ6VXNlcjQyNzQ1OTI=","avatar_url":"https://avatars0.githubusercontent.com/u/4274592?v=4","gravatar_id":"","url":"https://api.github.com/users/Deanna2000","html_url":"https://github.com/Deanna2000","followers_url":"https://api.github.com/users/Deanna2000/followers","following_url":"https://api.github.com/users/Deanna2000/following{/other_user}","gists_url":"https://api.github.com/users/Deanna2000/gists{/gist_id}","starred_url":"https://api.github.com/users/Deanna2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deanna2000/subscriptions","organizations_url":"https://api.github.com/users/Deanna2000/orgs","repos_url":"https://api.github.com/users/Deanna2000/repos","events_url":"https://api.github.com/users/Deanna2000/events{/privacy}","received_events_url":"https://api.github.com/users/Deanna2000/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":39,"deletions":6,"changed_files":4}}
{"actor":{"display_login":"Deanna2000"}}