{"action":"created","comment":{"url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/comments/60184828","id":60184828,"diff_hunk":"@@ -11,3 +13,23 @@ def __unicode__(self):\n     class Meta:\n         verbose_name = \"Тип порушення\"\n         verbose_name_plural = \"Типи порушень\"\n+\n+\n+class Claim(models.Model):\n+    license_plates = models.CharField(\"Номери автомобілів\", max_length=50, blank=True)\n+    longitude = models.CharField(\"Довгота\", max_length=50, blank=True)\n+    latitude = models.CharField(\"Широта\", max_length=50, blank=True)\n+    city = models.CharField(\"Місто\", max_length=30, blank=True)\n+    address = models.CharField(\"Адреса\", max_length=150, blank=True)\n+    created_at = models.DateTimeField(editable=False, auto_now_add=True)\n+\n+    user = models.ForeignKey(User, verbose_name=\"Користувач\")","path":"badparking/core/models.py","position":21,"original_position":21,"commit_id":"a27293792d1f7b09ede7e5df0bd9d4b97194bf78","original_commit_id":"a27293792d1f7b09ede7e5df0bd9d4b97194bf78","user":{"login":"excieve","id":1077193,"avatar_url":"https://avatars.githubusercontent.com/u/1077193?v=3","gravatar_id":"","url":"https://api.github.com/users/excieve","html_url":"https://github.com/excieve","followers_url":"https://api.github.com/users/excieve/followers","following_url":"https://api.github.com/users/excieve/following{/other_user}","gists_url":"https://api.github.com/users/excieve/gists{/gist_id}","starred_url":"https://api.github.com/users/excieve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excieve/subscriptions","organizations_url":"https://api.github.com/users/excieve/orgs","repos_url":"https://api.github.com/users/excieve/repos","events_url":"https://api.github.com/users/excieve/events{/privacy}","received_events_url":"https://api.github.com/users/excieve/received_events","type":"User","site_admin":false},"body":"We'll be using a custom User model. Also it's a generally better practice to reference `settings.AUTH_USER_MODEL` instead of a concrete model in foreign keys. Looking at migrations Django did the right thing there but there still might be runtime issues.","created_at":"2016-04-19T07:39:09Z","updated_at":"2016-04-19T07:39:09Z","html_url":"https://github.com/dchaplinsky/badparking.in.ua/pull/3#discussion_r60184828","pull_request_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/comments/60184828"},"html":{"href":"https://github.com/dchaplinsky/badparking.in.ua/pull/3#discussion_r60184828"},"pull_request":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3","id":66817068,"html_url":"https://github.com/dchaplinsky/badparking.in.ua/pull/3","diff_url":"https://github.com/dchaplinsky/badparking.in.ua/pull/3.diff","patch_url":"https://github.com/dchaplinsky/badparking.in.ua/pull/3.patch","issue_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/3","number":3,"state":"open","locked":false,"title":"Added Claim node","user":{"login":"onary","id":6514650,"avatar_url":"https://avatars.githubusercontent.com/u/6514650?v=3","gravatar_id":"","url":"https://api.github.com/users/onary","html_url":"https://github.com/onary","followers_url":"https://api.github.com/users/onary/followers","following_url":"https://api.github.com/users/onary/following{/other_user}","gists_url":"https://api.github.com/users/onary/gists{/gist_id}","starred_url":"https://api.github.com/users/onary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onary/subscriptions","organizations_url":"https://api.github.com/users/onary/orgs","repos_url":"https://api.github.com/users/onary/repos","events_url":"https://api.github.com/users/onary/events{/privacy}","received_events_url":"https://api.github.com/users/onary/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-18T08:45:12Z","updated_at":"2016-04-19T07:39:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b49670721ff6dd2fb7ffbf9895c946dadb51fe2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/3/comments","statuses_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/statuses/a27293792d1f7b09ede7e5df0bd9d4b97194bf78","head":{"label":"dchaplinsky:svorontsov","ref":"svorontsov","sha":"a27293792d1f7b09ede7e5df0bd9d4b97194bf78","user":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"repo":{"id":55057258,"name":"badparking.in.ua","full_name":"dchaplinsky/badparking.in.ua","owner":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dchaplinsky/badparking.in.ua","description":"New version of badparking.in.ua. Now with mobile apps.","fork":false,"url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua","forks_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/forks","keys_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/teams","hooks_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/hooks","issue_events_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/events{/number}","events_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/events","assignees_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/assignees{/user}","branches_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/branches{/branch}","tags_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/tags","blobs_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/statuses/{sha}","languages_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/languages","stargazers_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/stargazers","contributors_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/contributors","subscribers_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/subscribers","subscription_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/subscription","commits_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/contents/{+path}","compare_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/merges","archive_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/downloads","issues_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues{/number}","pulls_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls{/number}","milestones_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/milestones{/number}","notifications_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/labels{/name}","releases_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/releases{/id}","deployments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/deployments","created_at":"2016-03-30T11:22:57Z","updated_at":"2016-03-30T12:16:24Z","pushed_at":"2016-04-18T08:45:12Z","git_url":"git://github.com/dchaplinsky/badparking.in.ua.git","ssh_url":"git@github.com:dchaplinsky/badparking.in.ua.git","clone_url":"https://github.com/dchaplinsky/badparking.in.ua.git","svn_url":"https://github.com/dchaplinsky/badparking.in.ua","homepage":null,"size":107,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"dchaplinsky:master","ref":"master","sha":"e3a564abf443254ed13f16696b067ba659f26936","user":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"repo":{"id":55057258,"name":"badparking.in.ua","full_name":"dchaplinsky/badparking.in.ua","owner":{"login":"dchaplinsky","id":131186,"avatar_url":"https://avatars.githubusercontent.com/u/131186?v=3","gravatar_id":"","url":"https://api.github.com/users/dchaplinsky","html_url":"https://github.com/dchaplinsky","followers_url":"https://api.github.com/users/dchaplinsky/followers","following_url":"https://api.github.com/users/dchaplinsky/following{/other_user}","gists_url":"https://api.github.com/users/dchaplinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dchaplinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchaplinsky/subscriptions","organizations_url":"https://api.github.com/users/dchaplinsky/orgs","repos_url":"https://api.github.com/users/dchaplinsky/repos","events_url":"https://api.github.com/users/dchaplinsky/events{/privacy}","received_events_url":"https://api.github.com/users/dchaplinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dchaplinsky/badparking.in.ua","description":"New version of badparking.in.ua. Now with mobile apps.","fork":false,"url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua","forks_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/forks","keys_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/teams","hooks_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/hooks","issue_events_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/events{/number}","events_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/events","assignees_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/assignees{/user}","branches_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/branches{/branch}","tags_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/tags","blobs_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/refs{/sha}","trees_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/statuses/{sha}","languages_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/languages","stargazers_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/stargazers","contributors_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/contributors","subscribers_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/subscribers","subscription_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/subscription","commits_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/commits{/sha}","git_commits_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/git/commits{/sha}","comments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/comments{/number}","issue_comment_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/comments{/number}","contents_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/contents/{+path}","compare_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/merges","archive_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/downloads","issues_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues{/number}","pulls_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls{/number}","milestones_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/milestones{/number}","notifications_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/labels{/name}","releases_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/releases{/id}","deployments_url":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/deployments","created_at":"2016-03-30T11:22:57Z","updated_at":"2016-03-30T12:16:24Z","pushed_at":"2016-04-18T08:45:12Z","git_url":"git://github.com/dchaplinsky/badparking.in.ua.git","ssh_url":"git@github.com:dchaplinsky/badparking.in.ua.git","clone_url":"https://github.com/dchaplinsky/badparking.in.ua.git","svn_url":"https://github.com/dchaplinsky/badparking.in.ua","homepage":null,"size":107,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3"},"html":{"href":"https://github.com/dchaplinsky/badparking.in.ua/pull/3"},"issue":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/3"},"comments":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dchaplinsky/badparking.in.ua/statuses/a27293792d1f7b09ede7e5df0bd9d4b97194bf78"}}}}