{"action":"created","comment":{"url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/comments/333744442","pull_request_review_id":300364066,"id":333744442,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzMzc0NDQ0Mg==","diff_hunk":"@@ -1,3 +1,115 @@\n-# from django.db import models\n+from django.db import models\n+from django.contrib.auth.models import User\n+\n \n # Create your models here.\n+class Currency(models.Model):\n+    name = models.CharField(max_length=3, unique=True)\n+\n+    def __str__(self):\n+        return self.name\n+\n+\n+class Store(models.Model):\n+    name = models.CharField(max_length=30, unique=True)\n+    prod_base_url = models.TextField(unique=True)","path":"ozpricechecker/pricefinderapp/models.py","position":16,"original_position":16,"commit_id":"f091942c14df21b3fd6e3506e6f5962db56801f3","original_commit_id":"f091942c14df21b3fd6e3506e6f5962db56801f3","user":{"login":"ericziethen","id":48635802,"node_id":"MDQ6VXNlcjQ4NjM1ODAy","avatar_url":"https://avatars3.githubusercontent.com/u/48635802?v=4","gravatar_id":"","url":"https://api.github.com/users/ericziethen","html_url":"https://github.com/ericziethen","followers_url":"https://api.github.com/users/ericziethen/followers","following_url":"https://api.github.com/users/ericziethen/following{/other_user}","gists_url":"https://api.github.com/users/ericziethen/gists{/gist_id}","starred_url":"https://api.github.com/users/ericziethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericziethen/subscriptions","organizations_url":"https://api.github.com/users/ericziethen/orgs","repos_url":"https://api.github.com/users/ericziethen/repos","events_url":"https://api.github.com/users/ericziethen/events{/privacy}","received_events_url":"https://api.github.com/users/ericziethen/received_events","type":"User","site_admin":false},"body":"Any Particular reason why this must be unique? I'cant think of a specific scenario where it wouldn't be right now but I would have thought since name is Unique I thought this would just be a field.\r\nActually, I could imagine (theoretically) that we could be splitting a real store into multiple logical stores but having the same base URL?\r\nThoughts?\r\nBasically even though it'll be most likely different for each store I wouldn't think we have to enforce it this way.","created_at":"2019-10-10T21:31:20Z","updated_at":"2019-10-10T21:44:20Z","html_url":"https://github.com/ericziethen/oz-price-checker/pull/5#discussion_r333744442","pull_request_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/comments/333744442"},"html":{"href":"https://github.com/ericziethen/oz-price-checker/pull/5#discussion_r333744442"},"pull_request":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5","id":324917225,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI0OTE3MjI1","html_url":"https://github.com/ericziethen/oz-price-checker/pull/5","diff_url":"https://github.com/ericziethen/oz-price-checker/pull/5.diff","patch_url":"https://github.com/ericziethen/oz-price-checker/pull/5.patch","issue_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/5","number":5,"state":"open","locked":false,"title":"Added initial models","user":{"login":"sumantkadam","id":25806111,"node_id":"MDQ6VXNlcjI1ODA2MTEx","avatar_url":"https://avatars3.githubusercontent.com/u/25806111?v=4","gravatar_id":"","url":"https://api.github.com/users/sumantkadam","html_url":"https://github.com/sumantkadam","followers_url":"https://api.github.com/users/sumantkadam/followers","following_url":"https://api.github.com/users/sumantkadam/following{/other_user}","gists_url":"https://api.github.com/users/sumantkadam/gists{/gist_id}","starred_url":"https://api.github.com/users/sumantkadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumantkadam/subscriptions","organizations_url":"https://api.github.com/users/sumantkadam/orgs","repos_url":"https://api.github.com/users/sumantkadam/repos","events_url":"https://api.github.com/users/sumantkadam/events{/privacy}","received_events_url":"https://api.github.com/users/sumantkadam/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-05T07:49:43Z","updated_at":"2019-10-10T21:44:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8fbe7074510c0c61708f41f8bb3516bb0cf0e8bb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5/commits","review_comments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5/comments","review_comment_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/5/comments","statuses_url":"https://api.github.com/repos/ericziethen/oz-price-checker/statuses/f091942c14df21b3fd6e3506e6f5962db56801f3","head":{"label":"ericziethen:feature/Adding-models-for-pricefinderapp","ref":"feature/Adding-models-for-pricefinderapp","sha":"f091942c14df21b3fd6e3506e6f5962db56801f3","user":{"login":"ericziethen","id":48635802,"node_id":"MDQ6VXNlcjQ4NjM1ODAy","avatar_url":"https://avatars3.githubusercontent.com/u/48635802?v=4","gravatar_id":"","url":"https://api.github.com/users/ericziethen","html_url":"https://github.com/ericziethen","followers_url":"https://api.github.com/users/ericziethen/followers","following_url":"https://api.github.com/users/ericziethen/following{/other_user}","gists_url":"https://api.github.com/users/ericziethen/gists{/gist_id}","starred_url":"https://api.github.com/users/ericziethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericziethen/subscriptions","organizations_url":"https://api.github.com/users/ericziethen/orgs","repos_url":"https://api.github.com/users/ericziethen/repos","events_url":"https://api.github.com/users/ericziethen/events{/privacy}","received_events_url":"https://api.github.com/users/ericziethen/received_events","type":"User","site_admin":false},"repo":{"id":203924399,"node_id":"MDEwOlJlcG9zaXRvcnkyMDM5MjQzOTk=","name":"oz-price-checker","full_name":"ericziethen/oz-price-checker","private":false,"owner":{"login":"ericziethen","id":48635802,"node_id":"MDQ6VXNlcjQ4NjM1ODAy","avatar_url":"https://avatars3.githubusercontent.com/u/48635802?v=4","gravatar_id":"","url":"https://api.github.com/users/ericziethen","html_url":"https://github.com/ericziethen","followers_url":"https://api.github.com/users/ericziethen/followers","following_url":"https://api.github.com/users/ericziethen/following{/other_user}","gists_url":"https://api.github.com/users/ericziethen/gists{/gist_id}","starred_url":"https://api.github.com/users/ericziethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericziethen/subscriptions","organizations_url":"https://api.github.com/users/ericziethen/orgs","repos_url":"https://api.github.com/users/ericziethen/repos","events_url":"https://api.github.com/users/ericziethen/events{/privacy}","received_events_url":"https://api.github.com/users/ericziethen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ericziethen/oz-price-checker","description":null,"fork":false,"url":"https://api.github.com/repos/ericziethen/oz-price-checker","forks_url":"https://api.github.com/repos/ericziethen/oz-price-checker/forks","keys_url":"https://api.github.com/repos/ericziethen/oz-price-checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericziethen/oz-price-checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericziethen/oz-price-checker/teams","hooks_url":"https://api.github.com/repos/ericziethen/oz-price-checker/hooks","issue_events_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/events{/number}","events_url":"https://api.github.com/repos/ericziethen/oz-price-checker/events","assignees_url":"https://api.github.com/repos/ericziethen/oz-price-checker/assignees{/user}","branches_url":"https://api.github.com/repos/ericziethen/oz-price-checker/branches{/branch}","tags_url":"https://api.github.com/repos/ericziethen/oz-price-checker/tags","blobs_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericziethen/oz-price-checker/statuses/{sha}","languages_url":"https://api.github.com/repos/ericziethen/oz-price-checker/languages","stargazers_url":"https://api.github.com/repos/ericziethen/oz-price-checker/stargazers","contributors_url":"https://api.github.com/repos/ericziethen/oz-price-checker/contributors","subscribers_url":"https://api.github.com/repos/ericziethen/oz-price-checker/subscribers","subscription_url":"https://api.github.com/repos/ericziethen/oz-price-checker/subscription","commits_url":"https://api.github.com/repos/ericziethen/oz-price-checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericziethen/oz-price-checker/contents/{+path}","compare_url":"https://api.github.com/repos/ericziethen/oz-price-checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericziethen/oz-price-checker/merges","archive_url":"https://api.github.com/repos/ericziethen/oz-price-checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericziethen/oz-price-checker/downloads","issues_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues{/number}","pulls_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls{/number}","milestones_url":"https://api.github.com/repos/ericziethen/oz-price-checker/milestones{/number}","notifications_url":"https://api.github.com/repos/ericziethen/oz-price-checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericziethen/oz-price-checker/labels{/name}","releases_url":"https://api.github.com/repos/ericziethen/oz-price-checker/releases{/id}","deployments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/deployments","created_at":"2019-08-23T04:34:47Z","updated_at":"2019-09-30T00:12:59Z","pushed_at":"2019-10-10T11:00:27Z","git_url":"git://github.com/ericziethen/oz-price-checker.git","ssh_url":"git@github.com:ericziethen/oz-price-checker.git","clone_url":"https://github.com/ericziethen/oz-price-checker.git","svn_url":"https://github.com/ericziethen/oz-price-checker","homepage":null,"size":79,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"ericziethen:development","ref":"development","sha":"3de99336d5ba39d5a8509dfee41e05dada66e2bf","user":{"login":"ericziethen","id":48635802,"node_id":"MDQ6VXNlcjQ4NjM1ODAy","avatar_url":"https://avatars3.githubusercontent.com/u/48635802?v=4","gravatar_id":"","url":"https://api.github.com/users/ericziethen","html_url":"https://github.com/ericziethen","followers_url":"https://api.github.com/users/ericziethen/followers","following_url":"https://api.github.com/users/ericziethen/following{/other_user}","gists_url":"https://api.github.com/users/ericziethen/gists{/gist_id}","starred_url":"https://api.github.com/users/ericziethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericziethen/subscriptions","organizations_url":"https://api.github.com/users/ericziethen/orgs","repos_url":"https://api.github.com/users/ericziethen/repos","events_url":"https://api.github.com/users/ericziethen/events{/privacy}","received_events_url":"https://api.github.com/users/ericziethen/received_events","type":"User","site_admin":false},"repo":{"id":203924399,"node_id":"MDEwOlJlcG9zaXRvcnkyMDM5MjQzOTk=","name":"oz-price-checker","full_name":"ericziethen/oz-price-checker","private":false,"owner":{"login":"ericziethen","id":48635802,"node_id":"MDQ6VXNlcjQ4NjM1ODAy","avatar_url":"https://avatars3.githubusercontent.com/u/48635802?v=4","gravatar_id":"","url":"https://api.github.com/users/ericziethen","html_url":"https://github.com/ericziethen","followers_url":"https://api.github.com/users/ericziethen/followers","following_url":"https://api.github.com/users/ericziethen/following{/other_user}","gists_url":"https://api.github.com/users/ericziethen/gists{/gist_id}","starred_url":"https://api.github.com/users/ericziethen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericziethen/subscriptions","organizations_url":"https://api.github.com/users/ericziethen/orgs","repos_url":"https://api.github.com/users/ericziethen/repos","events_url":"https://api.github.com/users/ericziethen/events{/privacy}","received_events_url":"https://api.github.com/users/ericziethen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ericziethen/oz-price-checker","description":null,"fork":false,"url":"https://api.github.com/repos/ericziethen/oz-price-checker","forks_url":"https://api.github.com/repos/ericziethen/oz-price-checker/forks","keys_url":"https://api.github.com/repos/ericziethen/oz-price-checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericziethen/oz-price-checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericziethen/oz-price-checker/teams","hooks_url":"https://api.github.com/repos/ericziethen/oz-price-checker/hooks","issue_events_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/events{/number}","events_url":"https://api.github.com/repos/ericziethen/oz-price-checker/events","assignees_url":"https://api.github.com/repos/ericziethen/oz-price-checker/assignees{/user}","branches_url":"https://api.github.com/repos/ericziethen/oz-price-checker/branches{/branch}","tags_url":"https://api.github.com/repos/ericziethen/oz-price-checker/tags","blobs_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericziethen/oz-price-checker/statuses/{sha}","languages_url":"https://api.github.com/repos/ericziethen/oz-price-checker/languages","stargazers_url":"https://api.github.com/repos/ericziethen/oz-price-checker/stargazers","contributors_url":"https://api.github.com/repos/ericziethen/oz-price-checker/contributors","subscribers_url":"https://api.github.com/repos/ericziethen/oz-price-checker/subscribers","subscription_url":"https://api.github.com/repos/ericziethen/oz-price-checker/subscription","commits_url":"https://api.github.com/repos/ericziethen/oz-price-checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericziethen/oz-price-checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericziethen/oz-price-checker/contents/{+path}","compare_url":"https://api.github.com/repos/ericziethen/oz-price-checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericziethen/oz-price-checker/merges","archive_url":"https://api.github.com/repos/ericziethen/oz-price-checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericziethen/oz-price-checker/downloads","issues_url":"https://api.github.com/repos/ericziethen/oz-price-checker/issues{/number}","pulls_url":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls{/number}","milestones_url":"https://api.github.com/repos/ericziethen/oz-price-checker/milestones{/number}","notifications_url":"https://api.github.com/repos/ericziethen/oz-price-checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericziethen/oz-price-checker/labels{/name}","releases_url":"https://api.github.com/repos/ericziethen/oz-price-checker/releases{/id}","deployments_url":"https://api.github.com/repos/ericziethen/oz-price-checker/deployments","created_at":"2019-08-23T04:34:47Z","updated_at":"2019-09-30T00:12:59Z","pushed_at":"2019-10-10T11:00:27Z","git_url":"git://github.com/ericziethen/oz-price-checker.git","ssh_url":"git@github.com:ericziethen/oz-price-checker.git","clone_url":"https://github.com/ericziethen/oz-price-checker.git","svn_url":"https://github.com/ericziethen/oz-price-checker","homepage":null,"size":79,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5"},"html":{"href":"https://github.com/ericziethen/oz-price-checker/pull/5"},"issue":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/5"},"comments":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/ericziethen/oz-price-checker/statuses/f091942c14df21b3fd6e3506e6f5962db56801f3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ericziethen"}}