{"action":"created","comment":{"url":"https://api.github.com/repos/gitcoinco/web/pulls/comments/196391223","pull_request_review_id":129931867,"id":196391223,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjM5MTIyMw==","diff_hunk":"@@ -55,6 +55,40 @@\n logger = logging.getLogger(__name__)\n \n \n+class BountyRequest(SuperModel):\n+    \"\"\"Define the structure of a Request.\"\"\"\n+\n+    STATUS_FUNDED = 'funded'\n+    STATUS_UNFUNDED = 'unfunded'\n+\n+    REQUEST_STATUSES = (\n+        (STATUS_FUNDED, 'funded'),\n+        (STATUS_UNFUNDED, 'unfunded'),\n+    )\n+\n+    github_url = models.CharField(max_length=255, blank=True)\n+    amount = models.DecimalField(null=True, blank=True, decimal_places=2, max_digits=50)\n+    denomination = models.CharField(default='ETH', max_length=5)\n+    creator = models.ForeignKey('dashboard.Profile', related_name='bounty_requests', null=True, on_delete=models.SET_NULL)\n+    status = models.CharField(max_length=8, choices=REQUEST_STATUSES, default=STATUS_FUNDED)\n+    followers = models.ManyToManyField('dashboard.Profile')\n+    bounty = models.ForeignKey('dashboard.Bounty', related_name='requests', null=True, on_delete=models.SET_NULL)\n+\n+    def __str__(self):\n+        return self.github_url\n+\n+\n+class Comment(models.Model):","path":"app/dashboard/models.py","position":27,"original_position":27,"commit_id":"b5ee55c87ec9e98f6dd08ecc2c31adc403e235e2","original_commit_id":"b5ee55c87ec9e98f6dd08ecc2c31adc403e235e2","user":{"login":"mbeacom","id":7315957,"node_id":"MDQ6VXNlcjczMTU5NTc=","avatar_url":"https://avatars0.githubusercontent.com/u/7315957?v=4","gravatar_id":"","url":"https://api.github.com/users/mbeacom","html_url":"https://github.com/mbeacom","followers_url":"https://api.github.com/users/mbeacom/followers","following_url":"https://api.github.com/users/mbeacom/following{/other_user}","gists_url":"https://api.github.com/users/mbeacom/gists{/gist_id}","starred_url":"https://api.github.com/users/mbeacom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbeacom/subscriptions","organizations_url":"https://api.github.com/users/mbeacom/orgs","repos_url":"https://api.github.com/users/mbeacom/repos","events_url":"https://api.github.com/users/mbeacom/events{/privacy}","received_events_url":"https://api.github.com/users/mbeacom/received_events","type":"User","site_admin":false},"body":"Can we rename this to avoid future collision with the django comments package and subclass `SuperModel` from `economy.models` ?  Then you can drop `created_on` from the below definition.","created_at":"2018-06-19T11:46:31Z","updated_at":"2018-06-19T11:54:53Z","html_url":"https://github.com/gitcoinco/web/pull/1376#discussion_r196391223","pull_request_url":"https://api.github.com/repos/gitcoinco/web/pulls/1376","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/comments/196391223"},"html":{"href":"https://github.com/gitcoinco/web/pull/1376#discussion_r196391223"},"pull_request":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/1376"}}},"pull_request":{"url":"https://api.github.com/repos/gitcoinco/web/pulls/1376","id":192586180,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNTg2MTgw","html_url":"https://github.com/gitcoinco/web/pull/1376","diff_url":"https://github.com/gitcoinco/web/pull/1376.diff","patch_url":"https://github.com/gitcoinco/web/pull/1376.patch","issue_url":"https://api.github.com/repos/gitcoinco/web/issues/1376","number":1376,"state":"open","locked":false,"title":"[WIP] Add bounty request path, model and persist data","user":{"login":"KennethAshley","id":1138619,"node_id":"MDQ6VXNlcjExMzg2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1138619?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethAshley","html_url":"https://github.com/KennethAshley","followers_url":"https://api.github.com/users/KennethAshley/followers","following_url":"https://api.github.com/users/KennethAshley/following{/other_user}","gists_url":"https://api.github.com/users/KennethAshley/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethAshley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethAshley/subscriptions","organizations_url":"https://api.github.com/users/KennethAshley/orgs","repos_url":"https://api.github.com/users/KennethAshley/repos","events_url":"https://api.github.com/users/KennethAshley/events{/privacy}","received_events_url":"https://api.github.com/users/KennethAshley/received_events","type":"User","site_admin":false},"body":"##### Description\r\nThis PR aims to add request to the gitcoin platform\r\n\r\n##### Checklist\r\n- [ ] linter status: 100% pass\r\n- [ ] changes don't break existing behavior\r\n- [ ] commit message follows [commit guidelines](https://github.com/gitcoinco/web/blob/master/docs/CONTRIBUTING.md#step-4-commit)\r\n\r\n##### Affected core subsystem(s)\r\n<!-- Provide affected core subsystem(s) (like doc, ui, crypto, etc). -->\r\n\r\n##### Testing\r\n<!-- Why should the PR reviewer trust that this change doesn't break anything? How have you tested this change? -->\r\n\r\n##### Refers/Fixes\r\n#1033 \r\n","created_at":"2018-06-05T04:10:48Z","updated_at":"2018-06-19T11:54:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72cedc3fbea33838c4c85a9f961d706b96d5f4c1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":820451824,"node_id":"MDU6TGFiZWw4MjA0NTE4MjQ=","url":"https://api.github.com/repos/gitcoinco/web/labels/in%20progress","name":"in progress","color":"4abc40","default":false},{"id":854182139,"node_id":"MDU6TGFiZWw4NTQxODIxMzk=","url":"https://api.github.com/repos/gitcoinco/web/labels/wip","name":"wip","color":"e2ba85","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/gitcoinco/web/pulls/1376/commits","review_comments_url":"https://api.github.com/repos/gitcoinco/web/pulls/1376/comments","review_comment_url":"https://api.github.com/repos/gitcoinco/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gitcoinco/web/issues/1376/comments","statuses_url":"https://api.github.com/repos/gitcoinco/web/statuses/b5ee55c87ec9e98f6dd08ecc2c31adc403e235e2","head":{"label":"KennethAshley:requests","ref":"requests","sha":"b5ee55c87ec9e98f6dd08ecc2c31adc403e235e2","user":{"login":"KennethAshley","id":1138619,"node_id":"MDQ6VXNlcjExMzg2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1138619?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethAshley","html_url":"https://github.com/KennethAshley","followers_url":"https://api.github.com/users/KennethAshley/followers","following_url":"https://api.github.com/users/KennethAshley/following{/other_user}","gists_url":"https://api.github.com/users/KennethAshley/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethAshley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethAshley/subscriptions","organizations_url":"https://api.github.com/users/KennethAshley/orgs","repos_url":"https://api.github.com/users/KennethAshley/repos","events_url":"https://api.github.com/users/KennethAshley/events{/privacy}","received_events_url":"https://api.github.com/users/KennethAshley/received_events","type":"User","site_admin":false},"repo":{"id":119756406,"node_id":"MDEwOlJlcG9zaXRvcnkxMTk3NTY0MDY=","name":"web","full_name":"KennethAshley/web","owner":{"login":"KennethAshley","id":1138619,"node_id":"MDQ6VXNlcjExMzg2MTk=","avatar_url":"https://avatars3.githubusercontent.com/u/1138619?v=4","gravatar_id":"","url":"https://api.github.com/users/KennethAshley","html_url":"https://github.com/KennethAshley","followers_url":"https://api.github.com/users/KennethAshley/followers","following_url":"https://api.github.com/users/KennethAshley/following{/other_user}","gists_url":"https://api.github.com/users/KennethAshley/gists{/gist_id}","starred_url":"https://api.github.com/users/KennethAshley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KennethAshley/subscriptions","organizations_url":"https://api.github.com/users/KennethAshley/orgs","repos_url":"https://api.github.com/users/KennethAshley/repos","events_url":"https://api.github.com/users/KennethAshley/events{/privacy}","received_events_url":"https://api.github.com/users/KennethAshley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KennethAshley/web","description":"Push Open Source Forward.","fork":true,"url":"https://api.github.com/repos/KennethAshley/web","forks_url":"https://api.github.com/repos/KennethAshley/web/forks","keys_url":"https://api.github.com/repos/KennethAshley/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KennethAshley/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KennethAshley/web/teams","hooks_url":"https://api.github.com/repos/KennethAshley/web/hooks","issue_events_url":"https://api.github.com/repos/KennethAshley/web/issues/events{/number}","events_url":"https://api.github.com/repos/KennethAshley/web/events","assignees_url":"https://api.github.com/repos/KennethAshley/web/assignees{/user}","branches_url":"https://api.github.com/repos/KennethAshley/web/branches{/branch}","tags_url":"https://api.github.com/repos/KennethAshley/web/tags","blobs_url":"https://api.github.com/repos/KennethAshley/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KennethAshley/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KennethAshley/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/KennethAshley/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KennethAshley/web/statuses/{sha}","languages_url":"https://api.github.com/repos/KennethAshley/web/languages","stargazers_url":"https://api.github.com/repos/KennethAshley/web/stargazers","contributors_url":"https://api.github.com/repos/KennethAshley/web/contributors","subscribers_url":"https://api.github.com/repos/KennethAshley/web/subscribers","subscription_url":"https://api.github.com/repos/KennethAshley/web/subscription","commits_url":"https://api.github.com/repos/KennethAshley/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/KennethAshley/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/KennethAshley/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/KennethAshley/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/KennethAshley/web/contents/{+path}","compare_url":"https://api.github.com/repos/KennethAshley/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KennethAshley/web/merges","archive_url":"https://api.github.com/repos/KennethAshley/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KennethAshley/web/downloads","issues_url":"https://api.github.com/repos/KennethAshley/web/issues{/number}","pulls_url":"https://api.github.com/repos/KennethAshley/web/pulls{/number}","milestones_url":"https://api.github.com/repos/KennethAshley/web/milestones{/number}","notifications_url":"https://api.github.com/repos/KennethAshley/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KennethAshley/web/labels{/name}","releases_url":"https://api.github.com/repos/KennethAshley/web/releases{/id}","deployments_url":"https://api.github.com/repos/KennethAshley/web/deployments","created_at":"2018-01-31T23:24:19Z","updated_at":"2018-06-10T18:46:45Z","pushed_at":"2018-06-18T17:28:39Z","git_url":"git://github.com/KennethAshley/web.git","ssh_url":"git@github.com:KennethAshley/web.git","clone_url":"https://github.com/KennethAshley/web.git","svn_url":"https://github.com/KennethAshley/web","homepage":"https://gitcoin.co","size":168554,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gitcoinco:master","ref":"master","sha":"0eda2f5dd741cf1a8db7059fae2bb02866c53355","user":{"login":"gitcoinco","id":30044474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQ0NDc0","avatar_url":"https://avatars1.githubusercontent.com/u/30044474?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcoinco","html_url":"https://github.com/gitcoinco","followers_url":"https://api.github.com/users/gitcoinco/followers","following_url":"https://api.github.com/users/gitcoinco/following{/other_user}","gists_url":"https://api.github.com/users/gitcoinco/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcoinco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcoinco/subscriptions","organizations_url":"https://api.github.com/users/gitcoinco/orgs","repos_url":"https://api.github.com/users/gitcoinco/repos","events_url":"https://api.github.com/users/gitcoinco/events{/privacy}","received_events_url":"https://api.github.com/users/gitcoinco/received_events","type":"Organization","site_admin":false},"repo":{"id":96767206,"node_id":"MDEwOlJlcG9zaXRvcnk5Njc2NzIwNg==","name":"web","full_name":"gitcoinco/web","owner":{"login":"gitcoinco","id":30044474,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMDQ0NDc0","avatar_url":"https://avatars1.githubusercontent.com/u/30044474?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcoinco","html_url":"https://github.com/gitcoinco","followers_url":"https://api.github.com/users/gitcoinco/followers","following_url":"https://api.github.com/users/gitcoinco/following{/other_user}","gists_url":"https://api.github.com/users/gitcoinco/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcoinco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcoinco/subscriptions","organizations_url":"https://api.github.com/users/gitcoinco/orgs","repos_url":"https://api.github.com/users/gitcoinco/repos","events_url":"https://api.github.com/users/gitcoinco/events{/privacy}","received_events_url":"https://api.github.com/users/gitcoinco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gitcoinco/web","description":"Grow Open Source","fork":false,"url":"https://api.github.com/repos/gitcoinco/web","forks_url":"https://api.github.com/repos/gitcoinco/web/forks","keys_url":"https://api.github.com/repos/gitcoinco/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gitcoinco/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gitcoinco/web/teams","hooks_url":"https://api.github.com/repos/gitcoinco/web/hooks","issue_events_url":"https://api.github.com/repos/gitcoinco/web/issues/events{/number}","events_url":"https://api.github.com/repos/gitcoinco/web/events","assignees_url":"https://api.github.com/repos/gitcoinco/web/assignees{/user}","branches_url":"https://api.github.com/repos/gitcoinco/web/branches{/branch}","tags_url":"https://api.github.com/repos/gitcoinco/web/tags","blobs_url":"https://api.github.com/repos/gitcoinco/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gitcoinco/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gitcoinco/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/gitcoinco/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gitcoinco/web/statuses/{sha}","languages_url":"https://api.github.com/repos/gitcoinco/web/languages","stargazers_url":"https://api.github.com/repos/gitcoinco/web/stargazers","contributors_url":"https://api.github.com/repos/gitcoinco/web/contributors","subscribers_url":"https://api.github.com/repos/gitcoinco/web/subscribers","subscription_url":"https://api.github.com/repos/gitcoinco/web/subscription","commits_url":"https://api.github.com/repos/gitcoinco/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/gitcoinco/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/gitcoinco/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/gitcoinco/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/gitcoinco/web/contents/{+path}","compare_url":"https://api.github.com/repos/gitcoinco/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gitcoinco/web/merges","archive_url":"https://api.github.com/repos/gitcoinco/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gitcoinco/web/downloads","issues_url":"https://api.github.com/repos/gitcoinco/web/issues{/number}","pulls_url":"https://api.github.com/repos/gitcoinco/web/pulls{/number}","milestones_url":"https://api.github.com/repos/gitcoinco/web/milestones{/number}","notifications_url":"https://api.github.com/repos/gitcoinco/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gitcoinco/web/labels{/name}","releases_url":"https://api.github.com/repos/gitcoinco/web/releases{/id}","deployments_url":"https://api.github.com/repos/gitcoinco/web/deployments","created_at":"2017-07-10T10:53:45Z","updated_at":"2018-06-18T23:31:12Z","pushed_at":"2018-06-19T11:37:15Z","git_url":"git://github.com/gitcoinco/web.git","ssh_url":"git@github.com:gitcoinco/web.git","clone_url":"https://github.com/gitcoinco/web.git","svn_url":"https://github.com/gitcoinco/web","homepage":"https://gitcoin.co","size":254416,"stargazers_count":340,"watchers_count":340,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":194,"mirror_url":null,"archived":false,"open_issues_count":438,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":194,"open_issues":438,"watchers":340,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/1376"},"html":{"href":"https://github.com/gitcoinco/web/pull/1376"},"issue":{"href":"https://api.github.com/repos/gitcoinco/web/issues/1376"},"comments":{"href":"https://api.github.com/repos/gitcoinco/web/issues/1376/comments"},"review_comments":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/1376/comments"},"review_comment":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gitcoinco/web/pulls/1376/commits"},"statuses":{"href":"https://api.github.com/repos/gitcoinco/web/statuses/b5ee55c87ec9e98f6dd08ecc2c31adc403e235e2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mbeacom"}}