{"action":"created","comment":{"url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/comments/93180626","pull_request_review_id":13701944,"id":93180626,"diff_hunk":"@@ -0,0 +1,79 @@\n+#code to send automated reminder mails to registerd users for activating their account\n+#to run this file please follow below instructions:\n+#1. Go to project directory\n+#2. run \"python manage.py activation_reminder_mail.py >>reminder_mail_success_log.txt\"\n+\n+from __future__ import absolute_import, print_function, unicode_literals\n+\n+# Third Party Stuff\n+from django.core.management.base import BaseCommand\n+from django.db import transaction as tx\n+from django.contrib.auth.models import User\n+from cms.models import Profile\n+from config import *","path":"cms/management/commands/activation_reminder_mail.py","position":13,"original_position":13,"commit_id":"71d48dc1f327dd47acf3160e2afee6537b48008e","original_commit_id":"71d48dc1f327dd47acf3160e2afee6537b48008e","user":{"login":"kirti3192","id":13062815,"avatar_url":"https://avatars.githubusercontent.com/u/13062815?v=3","gravatar_id":"","url":"https://api.github.com/users/kirti3192","html_url":"https://github.com/kirti3192","followers_url":"https://api.github.com/users/kirti3192/followers","following_url":"https://api.github.com/users/kirti3192/following{/other_user}","gists_url":"https://api.github.com/users/kirti3192/gists{/gist_id}","starred_url":"https://api.github.com/users/kirti3192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirti3192/subscriptions","organizations_url":"https://api.github.com/users/kirti3192/orgs","repos_url":"https://api.github.com/users/kirti3192/repos","events_url":"https://api.github.com/users/kirti3192/events{/privacy}","received_events_url":"https://api.github.com/users/kirti3192/received_events","type":"User","site_admin":false},"body":"will create NO_REPLY_EMAIL in settings.py","created_at":"2016-12-20T07:00:07Z","updated_at":"2016-12-20T07:00:07Z","html_url":"https://github.com/Spoken-tutorial/spoken-website/pull/119#discussion_r93180626","pull_request_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/comments/93180626"},"html":{"href":"https://github.com/Spoken-tutorial/spoken-website/pull/119#discussion_r93180626"},"pull_request":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119","id":98098101,"html_url":"https://github.com/Spoken-tutorial/spoken-website/pull/119","diff_url":"https://github.com/Spoken-tutorial/spoken-website/pull/119.diff","patch_url":"https://github.com/Spoken-tutorial/spoken-website/pull/119.patch","issue_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/119","number":119,"state":"open","locked":false,"title":"python script to send reminder mail for activation link","user":{"login":"kirti3192","id":13062815,"avatar_url":"https://avatars.githubusercontent.com/u/13062815?v=3","gravatar_id":"","url":"https://api.github.com/users/kirti3192","html_url":"https://github.com/kirti3192","followers_url":"https://api.github.com/users/kirti3192/followers","following_url":"https://api.github.com/users/kirti3192/following{/other_user}","gists_url":"https://api.github.com/users/kirti3192/gists{/gist_id}","starred_url":"https://api.github.com/users/kirti3192/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirti3192/subscriptions","organizations_url":"https://api.github.com/users/kirti3192/orgs","repos_url":"https://api.github.com/users/kirti3192/repos","events_url":"https://api.github.com/users/kirti3192/events{/privacy}","received_events_url":"https://api.github.com/users/kirti3192/received_events","type":"User","site_admin":false},"body":"This script will check for users who registered min 7 days ago and still their activation status is zero. \r\nScript will send reminder mail to all these listed users and store logs.","created_at":"2016-12-15T07:13:31Z","updated_at":"2016-12-20T07:00:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"382cf4eccf1bad5a9668561d3bbd40a757433a91","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119/commits","review_comments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119/comments","review_comment_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/119/comments","statuses_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/statuses/71d48dc1f327dd47acf3160e2afee6537b48008e","head":{"label":"Spoken-tutorial:auto_activation_mail","ref":"auto_activation_mail","sha":"71d48dc1f327dd47acf3160e2afee6537b48008e","user":{"login":"Spoken-tutorial","id":6771202,"avatar_url":"https://avatars.githubusercontent.com/u/6771202?v=3","gravatar_id":"","url":"https://api.github.com/users/Spoken-tutorial","html_url":"https://github.com/Spoken-tutorial","followers_url":"https://api.github.com/users/Spoken-tutorial/followers","following_url":"https://api.github.com/users/Spoken-tutorial/following{/other_user}","gists_url":"https://api.github.com/users/Spoken-tutorial/gists{/gist_id}","starred_url":"https://api.github.com/users/Spoken-tutorial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spoken-tutorial/subscriptions","organizations_url":"https://api.github.com/users/Spoken-tutorial/orgs","repos_url":"https://api.github.com/users/Spoken-tutorial/repos","events_url":"https://api.github.com/users/Spoken-tutorial/events{/privacy}","received_events_url":"https://api.github.com/users/Spoken-tutorial/received_events","type":"Organization","site_admin":false},"repo":{"id":17163203,"name":"spoken-website","full_name":"Spoken-tutorial/spoken-website","owner":{"login":"Spoken-tutorial","id":6771202,"avatar_url":"https://avatars.githubusercontent.com/u/6771202?v=3","gravatar_id":"","url":"https://api.github.com/users/Spoken-tutorial","html_url":"https://github.com/Spoken-tutorial","followers_url":"https://api.github.com/users/Spoken-tutorial/followers","following_url":"https://api.github.com/users/Spoken-tutorial/following{/other_user}","gists_url":"https://api.github.com/users/Spoken-tutorial/gists{/gist_id}","starred_url":"https://api.github.com/users/Spoken-tutorial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spoken-tutorial/subscriptions","organizations_url":"https://api.github.com/users/Spoken-tutorial/orgs","repos_url":"https://api.github.com/users/Spoken-tutorial/repos","events_url":"https://api.github.com/users/Spoken-tutorial/events{/privacy}","received_events_url":"https://api.github.com/users/Spoken-tutorial/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Spoken-tutorial/spoken-website","description":"Spoken tutorial website in django","fork":false,"url":"https://api.github.com/repos/Spoken-tutorial/spoken-website","forks_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/forks","keys_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/teams","hooks_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/hooks","issue_events_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/events{/number}","events_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/events","assignees_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/assignees{/user}","branches_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/branches{/branch}","tags_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/tags","blobs_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/statuses/{sha}","languages_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/languages","stargazers_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/stargazers","contributors_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/contributors","subscribers_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/subscribers","subscription_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/subscription","commits_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/contents/{+path}","compare_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/merges","archive_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/downloads","issues_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues{/number}","pulls_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls{/number}","milestones_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/milestones{/number}","notifications_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/labels{/name}","releases_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/releases{/id}","deployments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/deployments","created_at":"2014-02-25T06:02:42Z","updated_at":"2016-12-13T03:03:41Z","pushed_at":"2016-12-19T15:53:30Z","git_url":"git://github.com/Spoken-tutorial/spoken-website.git","ssh_url":"git@github.com:Spoken-tutorial/spoken-website.git","clone_url":"https://github.com/Spoken-tutorial/spoken-website.git","svn_url":"https://github.com/Spoken-tutorial/spoken-website","homepage":"http://spoken-tutorial.org","size":36024,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":1,"default_branch":"master"}},"base":{"label":"Spoken-tutorial:master","ref":"master","sha":"bd87166dc2444b39f4a176f0bfc95edba0019eec","user":{"login":"Spoken-tutorial","id":6771202,"avatar_url":"https://avatars.githubusercontent.com/u/6771202?v=3","gravatar_id":"","url":"https://api.github.com/users/Spoken-tutorial","html_url":"https://github.com/Spoken-tutorial","followers_url":"https://api.github.com/users/Spoken-tutorial/followers","following_url":"https://api.github.com/users/Spoken-tutorial/following{/other_user}","gists_url":"https://api.github.com/users/Spoken-tutorial/gists{/gist_id}","starred_url":"https://api.github.com/users/Spoken-tutorial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spoken-tutorial/subscriptions","organizations_url":"https://api.github.com/users/Spoken-tutorial/orgs","repos_url":"https://api.github.com/users/Spoken-tutorial/repos","events_url":"https://api.github.com/users/Spoken-tutorial/events{/privacy}","received_events_url":"https://api.github.com/users/Spoken-tutorial/received_events","type":"Organization","site_admin":false},"repo":{"id":17163203,"name":"spoken-website","full_name":"Spoken-tutorial/spoken-website","owner":{"login":"Spoken-tutorial","id":6771202,"avatar_url":"https://avatars.githubusercontent.com/u/6771202?v=3","gravatar_id":"","url":"https://api.github.com/users/Spoken-tutorial","html_url":"https://github.com/Spoken-tutorial","followers_url":"https://api.github.com/users/Spoken-tutorial/followers","following_url":"https://api.github.com/users/Spoken-tutorial/following{/other_user}","gists_url":"https://api.github.com/users/Spoken-tutorial/gists{/gist_id}","starred_url":"https://api.github.com/users/Spoken-tutorial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spoken-tutorial/subscriptions","organizations_url":"https://api.github.com/users/Spoken-tutorial/orgs","repos_url":"https://api.github.com/users/Spoken-tutorial/repos","events_url":"https://api.github.com/users/Spoken-tutorial/events{/privacy}","received_events_url":"https://api.github.com/users/Spoken-tutorial/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Spoken-tutorial/spoken-website","description":"Spoken tutorial website in django","fork":false,"url":"https://api.github.com/repos/Spoken-tutorial/spoken-website","forks_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/forks","keys_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/teams","hooks_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/hooks","issue_events_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/events{/number}","events_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/events","assignees_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/assignees{/user}","branches_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/branches{/branch}","tags_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/tags","blobs_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/statuses/{sha}","languages_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/languages","stargazers_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/stargazers","contributors_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/contributors","subscribers_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/subscribers","subscription_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/subscription","commits_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/contents/{+path}","compare_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/merges","archive_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/downloads","issues_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues{/number}","pulls_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls{/number}","milestones_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/milestones{/number}","notifications_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/labels{/name}","releases_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/releases{/id}","deployments_url":"https://api.github.com/repos/Spoken-tutorial/spoken-website/deployments","created_at":"2014-02-25T06:02:42Z","updated_at":"2016-12-13T03:03:41Z","pushed_at":"2016-12-19T15:53:30Z","git_url":"git://github.com/Spoken-tutorial/spoken-website.git","ssh_url":"git@github.com:Spoken-tutorial/spoken-website.git","clone_url":"https://github.com/Spoken-tutorial/spoken-website.git","svn_url":"https://github.com/Spoken-tutorial/spoken-website","homepage":"http://spoken-tutorial.org","size":36024,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119"},"html":{"href":"https://github.com/Spoken-tutorial/spoken-website/pull/119"},"issue":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/119"},"comments":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/Spoken-tutorial/spoken-website/statuses/71d48dc1f327dd47acf3160e2afee6537b48008e"}}}}
{"actor":{"display_login":"kirti3192"}}