{"action":"created","comment":{"url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/comments/91705294","pull_request_review_id":12215711,"id":91705294,"diff_hunk":"@@ -37,3 +38,8 @@ class Parking(TimestampedModelMixin, UUIDPrimaryKeyMixin):\n     zone = models.IntegerField(verbose_name=_(\"zone number\"), validators=[\n         MinValueValidator(1), MaxValueValidator(3),\n     ])\n+\n+    def __str__(self):\n+        start = localtime(self.time_start).replace(tzinfo=None)\n+        end = localtime(self.time_end).time().replace(tzinfo=None)\n+        return \"%s -> %s\" % (start, end)","path":"parkings/models/parking.py","position":15,"original_position":15,"commit_id":"f4b2274131956c6866e7621402408a848798d67e","original_commit_id":"f4b2274131956c6866e7621402408a848798d67e","user":{"login":"jaywink","id":1174866,"avatar_url":"https://avatars.githubusercontent.com/u/1174866?v=3","gravatar_id":"","url":"https://api.github.com/users/jaywink","html_url":"https://github.com/jaywink","followers_url":"https://api.github.com/users/jaywink/followers","following_url":"https://api.github.com/users/jaywink/following{/other_user}","gists_url":"https://api.github.com/users/jaywink/gists{/gist_id}","starred_url":"https://api.github.com/users/jaywink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaywink/subscriptions","organizations_url":"https://api.github.com/users/jaywink/orgs","repos_url":"https://api.github.com/users/jaywink/repos","events_url":"https://api.github.com/users/jaywink/events{/privacy}","received_events_url":"https://api.github.com/users/jaywink/received_events","type":"User","site_admin":false},"body":"I guess to make this useful a registration number might be nice here.","created_at":"2016-12-09T12:04:55Z","updated_at":"2016-12-09T12:04:55Z","html_url":"https://github.com/City-of-Helsinki/parkkihubi/pull/3#discussion_r91705294","pull_request_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/comments/91705294"},"html":{"href":"https://github.com/City-of-Helsinki/parkkihubi/pull/3#discussion_r91705294"},"pull_request":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3","id":97287804,"html_url":"https://github.com/City-of-Helsinki/parkkihubi/pull/3","diff_url":"https://github.com/City-of-Helsinki/parkkihubi/pull/3.diff","patch_url":"https://github.com/City-of-Helsinki/parkkihubi/pull/3.patch","issue_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/3","number":3,"state":"open","locked":false,"title":"Initial APIs","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"body":"Added initial admin UI and initial API implementations (write-only operator and read-only internal).","created_at":"2016-12-09T10:49:33Z","updated_at":"2016-12-09T12:04:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6994125c13f9b9dd1b57e4488356f5f1d72d4a5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3/commits","review_comments_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3/comments","review_comment_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/3/comments","statuses_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/statuses/f4b2274131956c6866e7621402408a848798d67e","head":{"label":"tuomas777:initial-api","ref":"initial-api","sha":"f4b2274131956c6866e7621402408a848798d67e","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"repo":{"id":75930602,"name":"parkkihubi","full_name":"tuomas777/parkkihubi","owner":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuomas777/parkkihubi","description":"Django-based REST API for processing parking data","fork":true,"url":"https://api.github.com/repos/tuomas777/parkkihubi","forks_url":"https://api.github.com/repos/tuomas777/parkkihubi/forks","keys_url":"https://api.github.com/repos/tuomas777/parkkihubi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuomas777/parkkihubi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuomas777/parkkihubi/teams","hooks_url":"https://api.github.com/repos/tuomas777/parkkihubi/hooks","issue_events_url":"https://api.github.com/repos/tuomas777/parkkihubi/issues/events{/number}","events_url":"https://api.github.com/repos/tuomas777/parkkihubi/events","assignees_url":"https://api.github.com/repos/tuomas777/parkkihubi/assignees{/user}","branches_url":"https://api.github.com/repos/tuomas777/parkkihubi/branches{/branch}","tags_url":"https://api.github.com/repos/tuomas777/parkkihubi/tags","blobs_url":"https://api.github.com/repos/tuomas777/parkkihubi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuomas777/parkkihubi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuomas777/parkkihubi/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuomas777/parkkihubi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuomas777/parkkihubi/statuses/{sha}","languages_url":"https://api.github.com/repos/tuomas777/parkkihubi/languages","stargazers_url":"https://api.github.com/repos/tuomas777/parkkihubi/stargazers","contributors_url":"https://api.github.com/repos/tuomas777/parkkihubi/contributors","subscribers_url":"https://api.github.com/repos/tuomas777/parkkihubi/subscribers","subscription_url":"https://api.github.com/repos/tuomas777/parkkihubi/subscription","commits_url":"https://api.github.com/repos/tuomas777/parkkihubi/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuomas777/parkkihubi/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuomas777/parkkihubi/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuomas777/parkkihubi/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuomas777/parkkihubi/contents/{+path}","compare_url":"https://api.github.com/repos/tuomas777/parkkihubi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuomas777/parkkihubi/merges","archive_url":"https://api.github.com/repos/tuomas777/parkkihubi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuomas777/parkkihubi/downloads","issues_url":"https://api.github.com/repos/tuomas777/parkkihubi/issues{/number}","pulls_url":"https://api.github.com/repos/tuomas777/parkkihubi/pulls{/number}","milestones_url":"https://api.github.com/repos/tuomas777/parkkihubi/milestones{/number}","notifications_url":"https://api.github.com/repos/tuomas777/parkkihubi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuomas777/parkkihubi/labels{/name}","releases_url":"https://api.github.com/repos/tuomas777/parkkihubi/releases{/id}","deployments_url":"https://api.github.com/repos/tuomas777/parkkihubi/deployments","created_at":"2016-12-08T11:12:32Z","updated_at":"2016-12-08T11:12:34Z","pushed_at":"2016-12-09T10:44:48Z","git_url":"git://github.com/tuomas777/parkkihubi.git","ssh_url":"git@github.com:tuomas777/parkkihubi.git","clone_url":"https://github.com/tuomas777/parkkihubi.git","svn_url":"https://github.com/tuomas777/parkkihubi","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"City-of-Helsinki:master","ref":"master","sha":"a0bad103cbf859c468cab469b80a3838d25e6557","user":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":75084288,"name":"parkkihubi","full_name":"City-of-Helsinki/parkkihubi","owner":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/parkkihubi","description":"Django-based REST API for processing parking data","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi","forks_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/releases{/id}","deployments_url":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/deployments","created_at":"2016-11-29T13:32:13Z","updated_at":"2016-12-02T09:35:42Z","pushed_at":"2016-12-09T10:49:33Z","git_url":"git://github.com/City-of-Helsinki/parkkihubi.git","ssh_url":"git@github.com:City-of-Helsinki/parkkihubi.git","clone_url":"https://github.com/City-of-Helsinki/parkkihubi.git","svn_url":"https://github.com/City-of-Helsinki/parkkihubi","homepage":null,"size":15,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3"},"html":{"href":"https://github.com/City-of-Helsinki/parkkihubi/pull/3"},"issue":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/3"},"comments":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/City-of-Helsinki/parkkihubi/statuses/f4b2274131956c6866e7621402408a848798d67e"}}}}
{"actor":{"display_login":"jaywink"}}