{"action":"created","comment":{"url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/comments/270399061","pull_request_review_id":220525691,"id":270399061,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI3MDM5OTA2MQ==","diff_hunk":"@@ -0,0 +1,15 @@\n+from django.contrib.auth.tokens import PasswordResetTokenGenerator\n+from django.utils import six\n+\n+\n+class TokenGenerator(PasswordResetTokenGenerator):\n+\n+    def _make_hash_value(self, user, timestamp):\n+        return (\n+            six.text_type(user.pk) + six.text_type(timestamp) +\n+            six.text_type(user.is_active)\n+        )\n+\n+\n+account_activation_token = TokenGenerator()","path":"contacts/tokens.py","position":14,"original_position":14,"commit_id":"a08c4c361b7312f76268a100365ae9f067d34ad0","original_commit_id":"a08c4c361b7312f76268a100365ae9f067d34ad0","user":{"login":"asamolion","id":14261053,"node_id":"MDQ6VXNlcjE0MjYxMDUz","avatar_url":"https://avatars3.githubusercontent.com/u/14261053?v=4","gravatar_id":"","url":"https://api.github.com/users/asamolion","html_url":"https://github.com/asamolion","followers_url":"https://api.github.com/users/asamolion/followers","following_url":"https://api.github.com/users/asamolion/following{/other_user}","gists_url":"https://api.github.com/users/asamolion/gists{/gist_id}","starred_url":"https://api.github.com/users/asamolion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamolion/subscriptions","organizations_url":"https://api.github.com/users/asamolion/orgs","repos_url":"https://api.github.com/users/asamolion/repos","events_url":"https://api.github.com/users/asamolion/events{/privacy}","received_events_url":"https://api.github.com/users/asamolion/received_events","type":"User","site_admin":false},"body":"What is this doing exactly?","created_at":"2019-03-29T13:04:25Z","updated_at":"2019-03-29T13:05:45Z","html_url":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3#discussion_r270399061","pull_request_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/comments/270399061"},"html":{"href":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3#discussion_r270399061"},"pull_request":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3","id":265247234,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY1MjQ3MjM0","html_url":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3","diff_url":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3.diff","patch_url":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3.patch","issue_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/3","number":3,"state":"open","locked":false,"title":"welcome email on signup","user":{"login":"shahrukh-ijaz","id":41616030,"node_id":"MDQ6VXNlcjQxNjE2MDMw","avatar_url":"https://avatars2.githubusercontent.com/u/41616030?v=4","gravatar_id":"","url":"https://api.github.com/users/shahrukh-ijaz","html_url":"https://github.com/shahrukh-ijaz","followers_url":"https://api.github.com/users/shahrukh-ijaz/followers","following_url":"https://api.github.com/users/shahrukh-ijaz/following{/other_user}","gists_url":"https://api.github.com/users/shahrukh-ijaz/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrukh-ijaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrukh-ijaz/subscriptions","organizations_url":"https://api.github.com/users/shahrukh-ijaz/orgs","repos_url":"https://api.github.com/users/shahrukh-ijaz/repos","events_url":"https://api.github.com/users/shahrukh-ijaz/events{/privacy}","received_events_url":"https://api.github.com/users/shahrukh-ijaz/received_events","type":"User","site_admin":false},"body":"This is the email verification pull request","created_at":"2019-03-28T09:24:31Z","updated_at":"2019-03-29T13:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12efe395a8b5e4793780bbbd37bd1abd12ca8a92","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3/commits","review_comments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3/comments","review_comment_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/3/comments","statuses_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/statuses/a08c4c361b7312f76268a100365ae9f067d34ad0","head":{"label":"shahrukh-ijaz:phonebook_emailverification","ref":"phonebook_emailverification","sha":"a08c4c361b7312f76268a100365ae9f067d34ad0","user":{"login":"shahrukh-ijaz","id":41616030,"node_id":"MDQ6VXNlcjQxNjE2MDMw","avatar_url":"https://avatars2.githubusercontent.com/u/41616030?v=4","gravatar_id":"","url":"https://api.github.com/users/shahrukh-ijaz","html_url":"https://github.com/shahrukh-ijaz","followers_url":"https://api.github.com/users/shahrukh-ijaz/followers","following_url":"https://api.github.com/users/shahrukh-ijaz/following{/other_user}","gists_url":"https://api.github.com/users/shahrukh-ijaz/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrukh-ijaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrukh-ijaz/subscriptions","organizations_url":"https://api.github.com/users/shahrukh-ijaz/orgs","repos_url":"https://api.github.com/users/shahrukh-ijaz/repos","events_url":"https://api.github.com/users/shahrukh-ijaz/events{/privacy}","received_events_url":"https://api.github.com/users/shahrukh-ijaz/received_events","type":"User","site_admin":false},"repo":{"id":175012734,"node_id":"MDEwOlJlcG9zaXRvcnkxNzUwMTI3MzQ=","name":"django_phonebook","full_name":"shahrukh-ijaz/django_phonebook","private":false,"owner":{"login":"shahrukh-ijaz","id":41616030,"node_id":"MDQ6VXNlcjQxNjE2MDMw","avatar_url":"https://avatars2.githubusercontent.com/u/41616030?v=4","gravatar_id":"","url":"https://api.github.com/users/shahrukh-ijaz","html_url":"https://github.com/shahrukh-ijaz","followers_url":"https://api.github.com/users/shahrukh-ijaz/followers","following_url":"https://api.github.com/users/shahrukh-ijaz/following{/other_user}","gists_url":"https://api.github.com/users/shahrukh-ijaz/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrukh-ijaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrukh-ijaz/subscriptions","organizations_url":"https://api.github.com/users/shahrukh-ijaz/orgs","repos_url":"https://api.github.com/users/shahrukh-ijaz/repos","events_url":"https://api.github.com/users/shahrukh-ijaz/events{/privacy}","received_events_url":"https://api.github.com/users/shahrukh-ijaz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shahrukh-ijaz/django_phonebook","description":null,"fork":false,"url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook","forks_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/forks","keys_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/teams","hooks_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/hooks","issue_events_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/events{/number}","events_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/events","assignees_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/assignees{/user}","branches_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/branches{/branch}","tags_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/tags","blobs_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/statuses/{sha}","languages_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/languages","stargazers_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/stargazers","contributors_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/contributors","subscribers_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/subscribers","subscription_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/subscription","commits_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/contents/{+path}","compare_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/merges","archive_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/downloads","issues_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues{/number}","pulls_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls{/number}","milestones_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/milestones{/number}","notifications_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/labels{/name}","releases_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/releases{/id}","deployments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/deployments","created_at":"2019-03-11T14:03:59Z","updated_at":"2019-03-27T10:50:04Z","pushed_at":"2019-03-29T10:35:44Z","git_url":"git://github.com/shahrukh-ijaz/django_phonebook.git","ssh_url":"git@github.com:shahrukh-ijaz/django_phonebook.git","clone_url":"https://github.com/shahrukh-ijaz/django_phonebook.git","svn_url":"https://github.com/shahrukh-ijaz/django_phonebook","homepage":null,"size":61,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"shahrukh-ijaz:master","ref":"master","sha":"144d49e69bef758fdcbfd43462cc6c5e0a02102d","user":{"login":"shahrukh-ijaz","id":41616030,"node_id":"MDQ6VXNlcjQxNjE2MDMw","avatar_url":"https://avatars2.githubusercontent.com/u/41616030?v=4","gravatar_id":"","url":"https://api.github.com/users/shahrukh-ijaz","html_url":"https://github.com/shahrukh-ijaz","followers_url":"https://api.github.com/users/shahrukh-ijaz/followers","following_url":"https://api.github.com/users/shahrukh-ijaz/following{/other_user}","gists_url":"https://api.github.com/users/shahrukh-ijaz/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrukh-ijaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrukh-ijaz/subscriptions","organizations_url":"https://api.github.com/users/shahrukh-ijaz/orgs","repos_url":"https://api.github.com/users/shahrukh-ijaz/repos","events_url":"https://api.github.com/users/shahrukh-ijaz/events{/privacy}","received_events_url":"https://api.github.com/users/shahrukh-ijaz/received_events","type":"User","site_admin":false},"repo":{"id":175012734,"node_id":"MDEwOlJlcG9zaXRvcnkxNzUwMTI3MzQ=","name":"django_phonebook","full_name":"shahrukh-ijaz/django_phonebook","private":false,"owner":{"login":"shahrukh-ijaz","id":41616030,"node_id":"MDQ6VXNlcjQxNjE2MDMw","avatar_url":"https://avatars2.githubusercontent.com/u/41616030?v=4","gravatar_id":"","url":"https://api.github.com/users/shahrukh-ijaz","html_url":"https://github.com/shahrukh-ijaz","followers_url":"https://api.github.com/users/shahrukh-ijaz/followers","following_url":"https://api.github.com/users/shahrukh-ijaz/following{/other_user}","gists_url":"https://api.github.com/users/shahrukh-ijaz/gists{/gist_id}","starred_url":"https://api.github.com/users/shahrukh-ijaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahrukh-ijaz/subscriptions","organizations_url":"https://api.github.com/users/shahrukh-ijaz/orgs","repos_url":"https://api.github.com/users/shahrukh-ijaz/repos","events_url":"https://api.github.com/users/shahrukh-ijaz/events{/privacy}","received_events_url":"https://api.github.com/users/shahrukh-ijaz/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shahrukh-ijaz/django_phonebook","description":null,"fork":false,"url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook","forks_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/forks","keys_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/teams","hooks_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/hooks","issue_events_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/events{/number}","events_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/events","assignees_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/assignees{/user}","branches_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/branches{/branch}","tags_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/tags","blobs_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/refs{/sha}","trees_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/statuses/{sha}","languages_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/languages","stargazers_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/stargazers","contributors_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/contributors","subscribers_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/subscribers","subscription_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/subscription","commits_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/commits{/sha}","git_commits_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/git/commits{/sha}","comments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/comments{/number}","issue_comment_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/comments{/number}","contents_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/contents/{+path}","compare_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/merges","archive_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/downloads","issues_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues{/number}","pulls_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls{/number}","milestones_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/milestones{/number}","notifications_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/labels{/name}","releases_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/releases{/id}","deployments_url":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/deployments","created_at":"2019-03-11T14:03:59Z","updated_at":"2019-03-27T10:50:04Z","pushed_at":"2019-03-29T10:35:44Z","git_url":"git://github.com/shahrukh-ijaz/django_phonebook.git","ssh_url":"git@github.com:shahrukh-ijaz/django_phonebook.git","clone_url":"https://github.com/shahrukh-ijaz/django_phonebook.git","svn_url":"https://github.com/shahrukh-ijaz/django_phonebook","homepage":null,"size":61,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3"},"html":{"href":"https://github.com/shahrukh-ijaz/django_phonebook/pull/3"},"issue":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/3"},"comments":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/shahrukh-ijaz/django_phonebook/statuses/a08c4c361b7312f76268a100365ae9f067d34ad0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"asamolion"}}