{"action":"created","comment":{"url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/comments/242505973","pull_request_review_id":186029092,"id":242505973,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjUwNTk3Mw==","diff_hunk":"@@ -1 +1,47 @@\n \"\"\"This module implements class that represents the place entity.\"\"\"\n+\n+from django.db import models, IntegrityError\n+from custom_user.models import CustomUser\n+from utils.abstract_models import AbstractModel\n+\n+\n+class Place(AbstractModel):\n+    \"\"\"Model for place entity.\"\"\"\n+    longitude = models.DecimalField(decimal_places=6, max_digits=9)\n+    latitude = models.DecimalField(decimal_places=6, max_digits=9)\n+    name = models.CharField(max_length=64, blank=True)\n+    address = models.CharField(max_length=255)\n+    stop_id = models.PositiveSmallIntegerField(null=True)\n+    user = models.ForeignKey(CustomUser, on_delete=models.CASCADE, null=True)\n+\n+    def __str__(self):\n+        \"\"\"Method that returns route instance as string.\"\"\"\n+        return self.name\n+\n+    def to_dict(self):\n+        \"\"\"Method that returns dict with object's attributes.\"\"\"\n+        return {","path":"way_to_home/place/models.py","position":23,"original_position":23,"commit_id":"472b7abf80e64d8ba81cf081345435739630cdf3","original_commit_id":"472b7abf80e64d8ba81cf081345435739630cdf3","user":{"login":"PetrushynskyiOleksii","id":32573872,"node_id":"MDQ6VXNlcjMyNTczODcy","avatar_url":"https://avatars0.githubusercontent.com/u/32573872?v=4","gravatar_id":"","url":"https://api.github.com/users/PetrushynskyiOleksii","html_url":"https://github.com/PetrushynskyiOleksii","followers_url":"https://api.github.com/users/PetrushynskyiOleksii/followers","following_url":"https://api.github.com/users/PetrushynskyiOleksii/following{/other_user}","gists_url":"https://api.github.com/users/PetrushynskyiOleksii/gists{/gist_id}","starred_url":"https://api.github.com/users/PetrushynskyiOleksii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PetrushynskyiOleksii/subscriptions","organizations_url":"https://api.github.com/users/PetrushynskyiOleksii/orgs","repos_url":"https://api.github.com/users/PetrushynskyiOleksii/repos","events_url":"https://api.github.com/users/PetrushynskyiOleksii/events{/privacy}","received_events_url":"https://api.github.com/users/PetrushynskyiOleksii/received_events","type":"User","site_admin":false},"body":"return self.id, please","created_at":"2018-12-18T11:46:56Z","updated_at":"2018-12-18T11:46:56Z","html_url":"https://github.com/Lv-365python/wayToHome/pull/10#discussion_r242505973","pull_request_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/comments/242505973"},"html":{"href":"https://github.com/Lv-365python/wayToHome/pull/10#discussion_r242505973"},"pull_request":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10","id":238407963,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4NDA3OTYz","html_url":"https://github.com/Lv-365python/wayToHome/pull/10","diff_url":"https://github.com/Lv-365python/wayToHome/pull/10.diff","patch_url":"https://github.com/Lv-365python/wayToHome/pull/10.patch","issue_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/10","number":10,"state":"open","locked":false,"title":"Feature/models","user":{"login":"BoroviyOrest","id":37248424,"node_id":"MDQ6VXNlcjM3MjQ4NDI0","avatar_url":"https://avatars3.githubusercontent.com/u/37248424?v=4","gravatar_id":"","url":"https://api.github.com/users/BoroviyOrest","html_url":"https://github.com/BoroviyOrest","followers_url":"https://api.github.com/users/BoroviyOrest/followers","following_url":"https://api.github.com/users/BoroviyOrest/following{/other_user}","gists_url":"https://api.github.com/users/BoroviyOrest/gists{/gist_id}","starred_url":"https://api.github.com/users/BoroviyOrest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BoroviyOrest/subscriptions","organizations_url":"https://api.github.com/users/BoroviyOrest/orgs","repos_url":"https://api.github.com/users/BoroviyOrest/repos","events_url":"https://api.github.com/users/BoroviyOrest/events{/privacy}","received_events_url":"https://api.github.com/users/BoroviyOrest/received_events","type":"User","site_admin":false},"body":"## JIRA\r\n\r\n* [Main JIRA ticket](http://ssu-jira.softserveinc.com/browse/PYTHON-133)\r\n\r\n\r\n## Code reviewers\r\n\r\n- [x] @meelros\r\n- [ ] @mizin4ik\r\n- [x] @dimigor\r\n- [x] @PetrushynskyiOleksii\r\n- [x] @Sasha1152\r\n\r\n### Second Level Review\r\n\r\n- [ ] @lhalam\r\n\r\n## Summary of change\r\n\r\nAdded models for user, user profile, place, way, route and notification entities. Also changed the pylintrc file.\r\n\r\n## CHECK LIST\r\n- [x]  СI passed\r\n- [ ]  Сode coverage >=95%\r\n- [ ]  PR is reviewed manually again (to make sure you have 100% ready code)\r\n- [x]  All reviewers agreed to merge the PR\r\n- [ ]  I've checked new feature as logged in and logged out user if needed\r\n- [x]  PR meets all conventions\r\n","created_at":"2018-12-13T14:25:27Z","updated_at":"2018-12-18T11:46:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4471c59a1727e75ed66ba0d76b889c5bfd6879a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10/commits","review_comments_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10/comments","review_comment_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/10/comments","statuses_url":"https://api.github.com/repos/Lv-365python/wayToHome/statuses/472b7abf80e64d8ba81cf081345435739630cdf3","head":{"label":"Lv-365python:feature/models","ref":"feature/models","sha":"472b7abf80e64d8ba81cf081345435739630cdf3","user":{"login":"Lv-365python","id":45690511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NjkwNTEx","avatar_url":"https://avatars3.githubusercontent.com/u/45690511?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv-365python","html_url":"https://github.com/Lv-365python","followers_url":"https://api.github.com/users/Lv-365python/followers","following_url":"https://api.github.com/users/Lv-365python/following{/other_user}","gists_url":"https://api.github.com/users/Lv-365python/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv-365python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv-365python/subscriptions","organizations_url":"https://api.github.com/users/Lv-365python/orgs","repos_url":"https://api.github.com/users/Lv-365python/repos","events_url":"https://api.github.com/users/Lv-365python/events{/privacy}","received_events_url":"https://api.github.com/users/Lv-365python/received_events","type":"Organization","site_admin":false},"repo":{"id":160828389,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA4MjgzODk=","name":"wayToHome","full_name":"Lv-365python/wayToHome","private":false,"owner":{"login":"Lv-365python","id":45690511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NjkwNTEx","avatar_url":"https://avatars3.githubusercontent.com/u/45690511?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv-365python","html_url":"https://github.com/Lv-365python","followers_url":"https://api.github.com/users/Lv-365python/followers","following_url":"https://api.github.com/users/Lv-365python/following{/other_user}","gists_url":"https://api.github.com/users/Lv-365python/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv-365python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv-365python/subscriptions","organizations_url":"https://api.github.com/users/Lv-365python/orgs","repos_url":"https://api.github.com/users/Lv-365python/repos","events_url":"https://api.github.com/users/Lv-365python/events{/privacy}","received_events_url":"https://api.github.com/users/Lv-365python/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lv-365python/wayToHome","description":null,"fork":false,"url":"https://api.github.com/repos/Lv-365python/wayToHome","forks_url":"https://api.github.com/repos/Lv-365python/wayToHome/forks","keys_url":"https://api.github.com/repos/Lv-365python/wayToHome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lv-365python/wayToHome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lv-365python/wayToHome/teams","hooks_url":"https://api.github.com/repos/Lv-365python/wayToHome/hooks","issue_events_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/events{/number}","events_url":"https://api.github.com/repos/Lv-365python/wayToHome/events","assignees_url":"https://api.github.com/repos/Lv-365python/wayToHome/assignees{/user}","branches_url":"https://api.github.com/repos/Lv-365python/wayToHome/branches{/branch}","tags_url":"https://api.github.com/repos/Lv-365python/wayToHome/tags","blobs_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lv-365python/wayToHome/statuses/{sha}","languages_url":"https://api.github.com/repos/Lv-365python/wayToHome/languages","stargazers_url":"https://api.github.com/repos/Lv-365python/wayToHome/stargazers","contributors_url":"https://api.github.com/repos/Lv-365python/wayToHome/contributors","subscribers_url":"https://api.github.com/repos/Lv-365python/wayToHome/subscribers","subscription_url":"https://api.github.com/repos/Lv-365python/wayToHome/subscription","commits_url":"https://api.github.com/repos/Lv-365python/wayToHome/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lv-365python/wayToHome/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lv-365python/wayToHome/contents/{+path}","compare_url":"https://api.github.com/repos/Lv-365python/wayToHome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lv-365python/wayToHome/merges","archive_url":"https://api.github.com/repos/Lv-365python/wayToHome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lv-365python/wayToHome/downloads","issues_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues{/number}","pulls_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls{/number}","milestones_url":"https://api.github.com/repos/Lv-365python/wayToHome/milestones{/number}","notifications_url":"https://api.github.com/repos/Lv-365python/wayToHome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lv-365python/wayToHome/labels{/name}","releases_url":"https://api.github.com/repos/Lv-365python/wayToHome/releases{/id}","deployments_url":"https://api.github.com/repos/Lv-365python/wayToHome/deployments","created_at":"2018-12-07T13:37:49Z","updated_at":"2018-12-11T13:32:00Z","pushed_at":"2018-12-17T21:18:59Z","git_url":"git://github.com/Lv-365python/wayToHome.git","ssh_url":"git@github.com:Lv-365python/wayToHome.git","clone_url":"https://github.com/Lv-365python/wayToHome.git","svn_url":"https://github.com/Lv-365python/wayToHome","homepage":null,"size":88,"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":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"Lv-365python:develop","ref":"develop","sha":"192e82797456cb02a3341b901e65c16ae1e6c926","user":{"login":"Lv-365python","id":45690511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NjkwNTEx","avatar_url":"https://avatars3.githubusercontent.com/u/45690511?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv-365python","html_url":"https://github.com/Lv-365python","followers_url":"https://api.github.com/users/Lv-365python/followers","following_url":"https://api.github.com/users/Lv-365python/following{/other_user}","gists_url":"https://api.github.com/users/Lv-365python/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv-365python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv-365python/subscriptions","organizations_url":"https://api.github.com/users/Lv-365python/orgs","repos_url":"https://api.github.com/users/Lv-365python/repos","events_url":"https://api.github.com/users/Lv-365python/events{/privacy}","received_events_url":"https://api.github.com/users/Lv-365python/received_events","type":"Organization","site_admin":false},"repo":{"id":160828389,"node_id":"MDEwOlJlcG9zaXRvcnkxNjA4MjgzODk=","name":"wayToHome","full_name":"Lv-365python/wayToHome","private":false,"owner":{"login":"Lv-365python","id":45690511,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1NjkwNTEx","avatar_url":"https://avatars3.githubusercontent.com/u/45690511?v=4","gravatar_id":"","url":"https://api.github.com/users/Lv-365python","html_url":"https://github.com/Lv-365python","followers_url":"https://api.github.com/users/Lv-365python/followers","following_url":"https://api.github.com/users/Lv-365python/following{/other_user}","gists_url":"https://api.github.com/users/Lv-365python/gists{/gist_id}","starred_url":"https://api.github.com/users/Lv-365python/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lv-365python/subscriptions","organizations_url":"https://api.github.com/users/Lv-365python/orgs","repos_url":"https://api.github.com/users/Lv-365python/repos","events_url":"https://api.github.com/users/Lv-365python/events{/privacy}","received_events_url":"https://api.github.com/users/Lv-365python/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lv-365python/wayToHome","description":null,"fork":false,"url":"https://api.github.com/repos/Lv-365python/wayToHome","forks_url":"https://api.github.com/repos/Lv-365python/wayToHome/forks","keys_url":"https://api.github.com/repos/Lv-365python/wayToHome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lv-365python/wayToHome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lv-365python/wayToHome/teams","hooks_url":"https://api.github.com/repos/Lv-365python/wayToHome/hooks","issue_events_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/events{/number}","events_url":"https://api.github.com/repos/Lv-365python/wayToHome/events","assignees_url":"https://api.github.com/repos/Lv-365python/wayToHome/assignees{/user}","branches_url":"https://api.github.com/repos/Lv-365python/wayToHome/branches{/branch}","tags_url":"https://api.github.com/repos/Lv-365python/wayToHome/tags","blobs_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lv-365python/wayToHome/statuses/{sha}","languages_url":"https://api.github.com/repos/Lv-365python/wayToHome/languages","stargazers_url":"https://api.github.com/repos/Lv-365python/wayToHome/stargazers","contributors_url":"https://api.github.com/repos/Lv-365python/wayToHome/contributors","subscribers_url":"https://api.github.com/repos/Lv-365python/wayToHome/subscribers","subscription_url":"https://api.github.com/repos/Lv-365python/wayToHome/subscription","commits_url":"https://api.github.com/repos/Lv-365python/wayToHome/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lv-365python/wayToHome/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lv-365python/wayToHome/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lv-365python/wayToHome/contents/{+path}","compare_url":"https://api.github.com/repos/Lv-365python/wayToHome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lv-365python/wayToHome/merges","archive_url":"https://api.github.com/repos/Lv-365python/wayToHome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lv-365python/wayToHome/downloads","issues_url":"https://api.github.com/repos/Lv-365python/wayToHome/issues{/number}","pulls_url":"https://api.github.com/repos/Lv-365python/wayToHome/pulls{/number}","milestones_url":"https://api.github.com/repos/Lv-365python/wayToHome/milestones{/number}","notifications_url":"https://api.github.com/repos/Lv-365python/wayToHome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lv-365python/wayToHome/labels{/name}","releases_url":"https://api.github.com/repos/Lv-365python/wayToHome/releases{/id}","deployments_url":"https://api.github.com/repos/Lv-365python/wayToHome/deployments","created_at":"2018-12-07T13:37:49Z","updated_at":"2018-12-11T13:32:00Z","pushed_at":"2018-12-17T21:18:59Z","git_url":"git://github.com/Lv-365python/wayToHome.git","ssh_url":"git@github.com:Lv-365python/wayToHome.git","clone_url":"https://github.com/Lv-365python/wayToHome.git","svn_url":"https://github.com/Lv-365python/wayToHome","homepage":null,"size":88,"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":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10"},"html":{"href":"https://github.com/Lv-365python/wayToHome/pull/10"},"issue":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/issues/10"},"comments":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/Lv-365python/wayToHome/statuses/472b7abf80e64d8ba81cf081345435739630cdf3"}},"author_association":"NONE"}}
{"actor":{"display_login":"PetrushynskyiOleksii"}}