{"action":"created","comment":{"url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/comments/80476798","id":80476798,"diff_hunk":"@@ -73,6 +78,26 @@ class Registration(models.Model):\n     def __str__(self):\n         return str(self.id)\n \n+    def get_voice_days_and_times(self):\n+        return self.data.get('voice_days'), self.data.get('voice_times')\n+\n+    def get_preg_week(self):","path":"registrations/models.py","position":24,"original_position":24,"commit_id":"9abc3418dc73aab9766eba7a899bc0caef84c504","original_commit_id":"49bdbec833773c8ac9c7de708abf01e791acff09","user":{"login":"gsvr","id":3907663,"avatar_url":"https://avatars.githubusercontent.com/u/3907663?v=3","gravatar_id":"","url":"https://api.github.com/users/gsvr","html_url":"https://github.com/gsvr","followers_url":"https://api.github.com/users/gsvr/followers","following_url":"https://api.github.com/users/gsvr/following{/other_user}","gists_url":"https://api.github.com/users/gsvr/gists{/gist_id}","starred_url":"https://api.github.com/users/gsvr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsvr/subscriptions","organizations_url":"https://api.github.com/users/gsvr/orgs","repos_url":"https://api.github.com/users/gsvr/repos","events_url":"https://api.github.com/users/gsvr/events{/privacy}","received_events_url":"https://api.github.com/users/gsvr/received_events","type":"User","site_admin":false},"body":"Agreed, maybe `get_weeks_pregnant_or_age`? Or something similar.","created_at":"2016-09-26T13:41:56Z","updated_at":"2016-09-26T13:41:56Z","html_url":"https://github.com/praekelt/hellomama-registration/pull/96#discussion_r80476798","pull_request_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/comments/80476798"},"html":{"href":"https://github.com/praekelt/hellomama-registration/pull/96#discussion_r80476798"},"pull_request":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96","id":86698680,"html_url":"https://github.com/praekelt/hellomama-registration/pull/96","diff_url":"https://github.com/praekelt/hellomama-registration/pull/96.diff","patch_url":"https://github.com/praekelt/hellomama-registration/pull/96.patch","issue_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/96","number":96,"state":"open","locked":false,"title":"Add tools to verify (and fix) next_sequence_numbers for registrations.","user":{"login":"smn","id":1065,"avatar_url":"https://avatars.githubusercontent.com/u/1065?v=3","gravatar_id":"","url":"https://api.github.com/users/smn","html_url":"https://github.com/smn","followers_url":"https://api.github.com/users/smn/followers","following_url":"https://api.github.com/users/smn/following{/other_user}","gists_url":"https://api.github.com/users/smn/gists{/gist_id}","starred_url":"https://api.github.com/users/smn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smn/subscriptions","organizations_url":"https://api.github.com/users/smn/orgs","repos_url":"https://api.github.com/users/smn/repos","events_url":"https://api.github.com/users/smn/events{/privacy}","received_events_url":"https://api.github.com/users/smn/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-26T08:17:38Z","updated_at":"2016-09-26T13:41:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"effa5010f0f148d06f32f4f0bf47e7488234f88a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96/commits","review_comments_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96/comments","review_comment_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/96/comments","statuses_url":"https://api.github.com/repos/praekelt/hellomama-registration/statuses/9abc3418dc73aab9766eba7a899bc0caef84c504","head":{"label":"praekelt:feature/MOMNG-365-fix-sequence-numbers","ref":"feature/MOMNG-365-fix-sequence-numbers","sha":"9abc3418dc73aab9766eba7a899bc0caef84c504","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":50417477,"name":"hellomama-registration","full_name":"praekelt/hellomama-registration","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/hellomama-registration","description":"","fork":false,"url":"https://api.github.com/repos/praekelt/hellomama-registration","forks_url":"https://api.github.com/repos/praekelt/hellomama-registration/forks","keys_url":"https://api.github.com/repos/praekelt/hellomama-registration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/hellomama-registration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/hellomama-registration/teams","hooks_url":"https://api.github.com/repos/praekelt/hellomama-registration/hooks","issue_events_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/hellomama-registration/events","assignees_url":"https://api.github.com/repos/praekelt/hellomama-registration/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/hellomama-registration/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/hellomama-registration/tags","blobs_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/hellomama-registration/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/hellomama-registration/languages","stargazers_url":"https://api.github.com/repos/praekelt/hellomama-registration/stargazers","contributors_url":"https://api.github.com/repos/praekelt/hellomama-registration/contributors","subscribers_url":"https://api.github.com/repos/praekelt/hellomama-registration/subscribers","subscription_url":"https://api.github.com/repos/praekelt/hellomama-registration/subscription","commits_url":"https://api.github.com/repos/praekelt/hellomama-registration/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/hellomama-registration/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/hellomama-registration/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/hellomama-registration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/hellomama-registration/merges","archive_url":"https://api.github.com/repos/praekelt/hellomama-registration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/hellomama-registration/downloads","issues_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/hellomama-registration/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/hellomama-registration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/hellomama-registration/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/hellomama-registration/releases{/id}","deployments_url":"https://api.github.com/repos/praekelt/hellomama-registration/deployments","created_at":"2016-01-26T09:15:27Z","updated_at":"2016-02-19T12:28:04Z","pushed_at":"2016-09-26T13:40:22Z","git_url":"git://github.com/praekelt/hellomama-registration.git","ssh_url":"git@github.com:praekelt/hellomama-registration.git","clone_url":"https://github.com/praekelt/hellomama-registration.git","svn_url":"https://github.com/praekelt/hellomama-registration","homepage":null,"size":115900,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"develop"}},"base":{"label":"praekelt:develop","ref":"develop","sha":"62c895d416e280930074d145e4349a209f255241","user":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"repo":{"id":50417477,"name":"hellomama-registration","full_name":"praekelt/hellomama-registration","owner":{"login":"praekelt","id":81810,"avatar_url":"https://avatars.githubusercontent.com/u/81810?v=3","gravatar_id":"","url":"https://api.github.com/users/praekelt","html_url":"https://github.com/praekelt","followers_url":"https://api.github.com/users/praekelt/followers","following_url":"https://api.github.com/users/praekelt/following{/other_user}","gists_url":"https://api.github.com/users/praekelt/gists{/gist_id}","starred_url":"https://api.github.com/users/praekelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praekelt/subscriptions","organizations_url":"https://api.github.com/users/praekelt/orgs","repos_url":"https://api.github.com/users/praekelt/repos","events_url":"https://api.github.com/users/praekelt/events{/privacy}","received_events_url":"https://api.github.com/users/praekelt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praekelt/hellomama-registration","description":"","fork":false,"url":"https://api.github.com/repos/praekelt/hellomama-registration","forks_url":"https://api.github.com/repos/praekelt/hellomama-registration/forks","keys_url":"https://api.github.com/repos/praekelt/hellomama-registration/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praekelt/hellomama-registration/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praekelt/hellomama-registration/teams","hooks_url":"https://api.github.com/repos/praekelt/hellomama-registration/hooks","issue_events_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/events{/number}","events_url":"https://api.github.com/repos/praekelt/hellomama-registration/events","assignees_url":"https://api.github.com/repos/praekelt/hellomama-registration/assignees{/user}","branches_url":"https://api.github.com/repos/praekelt/hellomama-registration/branches{/branch}","tags_url":"https://api.github.com/repos/praekelt/hellomama-registration/tags","blobs_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/refs{/sha}","trees_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praekelt/hellomama-registration/statuses/{sha}","languages_url":"https://api.github.com/repos/praekelt/hellomama-registration/languages","stargazers_url":"https://api.github.com/repos/praekelt/hellomama-registration/stargazers","contributors_url":"https://api.github.com/repos/praekelt/hellomama-registration/contributors","subscribers_url":"https://api.github.com/repos/praekelt/hellomama-registration/subscribers","subscription_url":"https://api.github.com/repos/praekelt/hellomama-registration/subscription","commits_url":"https://api.github.com/repos/praekelt/hellomama-registration/commits{/sha}","git_commits_url":"https://api.github.com/repos/praekelt/hellomama-registration/git/commits{/sha}","comments_url":"https://api.github.com/repos/praekelt/hellomama-registration/comments{/number}","issue_comment_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues/comments{/number}","contents_url":"https://api.github.com/repos/praekelt/hellomama-registration/contents/{+path}","compare_url":"https://api.github.com/repos/praekelt/hellomama-registration/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praekelt/hellomama-registration/merges","archive_url":"https://api.github.com/repos/praekelt/hellomama-registration/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praekelt/hellomama-registration/downloads","issues_url":"https://api.github.com/repos/praekelt/hellomama-registration/issues{/number}","pulls_url":"https://api.github.com/repos/praekelt/hellomama-registration/pulls{/number}","milestones_url":"https://api.github.com/repos/praekelt/hellomama-registration/milestones{/number}","notifications_url":"https://api.github.com/repos/praekelt/hellomama-registration/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praekelt/hellomama-registration/labels{/name}","releases_url":"https://api.github.com/repos/praekelt/hellomama-registration/releases{/id}","deployments_url":"https://api.github.com/repos/praekelt/hellomama-registration/deployments","created_at":"2016-01-26T09:15:27Z","updated_at":"2016-02-19T12:28:04Z","pushed_at":"2016-09-26T13:40:22Z","git_url":"git://github.com/praekelt/hellomama-registration.git","ssh_url":"git@github.com:praekelt/hellomama-registration.git","clone_url":"https://github.com/praekelt/hellomama-registration.git","svn_url":"https://github.com/praekelt/hellomama-registration","homepage":null,"size":115900,"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":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96"},"html":{"href":"https://github.com/praekelt/hellomama-registration/pull/96"},"issue":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/issues/96"},"comments":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/praekelt/hellomama-registration/statuses/9abc3418dc73aab9766eba7a899bc0caef84c504"}}}}
{"actor":{"display_login":"gsvr"}}