{"action":"created","comment":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/190182440","pull_request_review_id":122504421,"id":190182440,"diff_hunk":"@@ -5063,6 +5116,16 @@ def setUp(self):\n             email='demo@student.com'\n         )\n \n+        Profile.objects.create(\n+            user=self.teacher,\n+            roll_number=10,\n+            institute='IIT',\n+            department='Chemical',\n+            position='Moderator',\n+            timezone='UTC',\n+            is_moderator=True\n+        )\n+","path":"yaksh/test_views.py","position":92,"original_position":323,"commit_id":"d90bd261a24d399a0fddf3287aa7f839392bf25c","original_commit_id":"d90bd261a24d399a0fddf3287aa7f839392bf25c","user":{"login":"prathamesh920","id":3014000,"avatar_url":"https://avatars3.githubusercontent.com/u/3014000?v=4","gravatar_id":"","url":"https://api.github.com/users/prathamesh920","html_url":"https://github.com/prathamesh920","followers_url":"https://api.github.com/users/prathamesh920/followers","following_url":"https://api.github.com/users/prathamesh920/following{/other_user}","gists_url":"https://api.github.com/users/prathamesh920/gists{/gist_id}","starred_url":"https://api.github.com/users/prathamesh920/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prathamesh920/subscriptions","organizations_url":"https://api.github.com/users/prathamesh920/orgs","repos_url":"https://api.github.com/users/prathamesh920/repos","events_url":"https://api.github.com/users/prathamesh920/events{/privacy}","received_events_url":"https://api.github.com/users/prathamesh920/received_events","type":"User","site_admin":false},"body":"It will be better if the tests are added for the new view created.","created_at":"2018-05-23T09:35:06Z","updated_at":"2018-05-23T09:57:01Z","html_url":"https://github.com/FOSSEE/online_test/pull/480#discussion_r190182440","pull_request_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/480","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments/190182440"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/480#discussion_r190182440"},"pull_request":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/480"}}},"pull_request":{"url":"https://api.github.com/repos/FOSSEE/online_test/pulls/480","id":188414746,"html_url":"https://github.com/FOSSEE/online_test/pull/480","diff_url":"https://github.com/FOSSEE/online_test/pull/480.diff","patch_url":"https://github.com/FOSSEE/online_test/pull/480.patch","issue_url":"https://api.github.com/repos/FOSSEE/online_test/issues/480","number":480,"state":"open","locked":false,"title":"Allow moderator to switch between student and moderator roles","user":{"login":"ankitjavalkar","id":4957402,"avatar_url":"https://avatars2.githubusercontent.com/u/4957402?v=4","gravatar_id":"","url":"https://api.github.com/users/ankitjavalkar","html_url":"https://github.com/ankitjavalkar","followers_url":"https://api.github.com/users/ankitjavalkar/followers","following_url":"https://api.github.com/users/ankitjavalkar/following{/other_user}","gists_url":"https://api.github.com/users/ankitjavalkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitjavalkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitjavalkar/subscriptions","organizations_url":"https://api.github.com/users/ankitjavalkar/orgs","repos_url":"https://api.github.com/users/ankitjavalkar/repos","events_url":"https://api.github.com/users/ankitjavalkar/events{/privacy}","received_events_url":"https://api.github.com/users/ankitjavalkar/received_events","type":"User","site_admin":false},"body":"Closes #478 ","created_at":"2018-05-16T12:25:11Z","updated_at":"2018-05-23T09:57:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dced99832584d74d6aba56e903042f5ae588317","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":892525838,"url":"https://api.github.com/repos/FOSSEE/online_test/labels/Priority:%20High","name":"Priority: High","color":"f9cd1b","default":false},{"id":679783829,"url":"https://api.github.com/repos/FOSSEE/online_test/labels/Type:%20Feature","name":"Type: Feature","color":"4eed58","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/480/commits","review_comments_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/480/comments","review_comment_url":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/issues/480/comments","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/d90bd261a24d399a0fddf3287aa7f839392bf25c","head":{"label":"ankitjavalkar:toggle-mod","ref":"toggle-mod","sha":"d90bd261a24d399a0fddf3287aa7f839392bf25c","user":{"login":"ankitjavalkar","id":4957402,"avatar_url":"https://avatars2.githubusercontent.com/u/4957402?v=4","gravatar_id":"","url":"https://api.github.com/users/ankitjavalkar","html_url":"https://github.com/ankitjavalkar","followers_url":"https://api.github.com/users/ankitjavalkar/followers","following_url":"https://api.github.com/users/ankitjavalkar/following{/other_user}","gists_url":"https://api.github.com/users/ankitjavalkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitjavalkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitjavalkar/subscriptions","organizations_url":"https://api.github.com/users/ankitjavalkar/orgs","repos_url":"https://api.github.com/users/ankitjavalkar/repos","events_url":"https://api.github.com/users/ankitjavalkar/events{/privacy}","received_events_url":"https://api.github.com/users/ankitjavalkar/received_events","type":"User","site_admin":false},"repo":{"id":30179449,"name":"online_test","full_name":"ankitjavalkar/online_test","owner":{"login":"ankitjavalkar","id":4957402,"avatar_url":"https://avatars2.githubusercontent.com/u/4957402?v=4","gravatar_id":"","url":"https://api.github.com/users/ankitjavalkar","html_url":"https://github.com/ankitjavalkar","followers_url":"https://api.github.com/users/ankitjavalkar/followers","following_url":"https://api.github.com/users/ankitjavalkar/following{/other_user}","gists_url":"https://api.github.com/users/ankitjavalkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitjavalkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitjavalkar/subscriptions","organizations_url":"https://api.github.com/users/ankitjavalkar/orgs","repos_url":"https://api.github.com/users/ankitjavalkar/repos","events_url":"https://api.github.com/users/ankitjavalkar/events{/privacy}","received_events_url":"https://api.github.com/users/ankitjavalkar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankitjavalkar/online_test","description":"Online quiz/exam taking application","fork":true,"url":"https://api.github.com/repos/ankitjavalkar/online_test","forks_url":"https://api.github.com/repos/ankitjavalkar/online_test/forks","keys_url":"https://api.github.com/repos/ankitjavalkar/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankitjavalkar/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankitjavalkar/online_test/teams","hooks_url":"https://api.github.com/repos/ankitjavalkar/online_test/hooks","issue_events_url":"https://api.github.com/repos/ankitjavalkar/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/ankitjavalkar/online_test/events","assignees_url":"https://api.github.com/repos/ankitjavalkar/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/ankitjavalkar/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/ankitjavalkar/online_test/tags","blobs_url":"https://api.github.com/repos/ankitjavalkar/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankitjavalkar/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankitjavalkar/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankitjavalkar/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankitjavalkar/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/ankitjavalkar/online_test/languages","stargazers_url":"https://api.github.com/repos/ankitjavalkar/online_test/stargazers","contributors_url":"https://api.github.com/repos/ankitjavalkar/online_test/contributors","subscribers_url":"https://api.github.com/repos/ankitjavalkar/online_test/subscribers","subscription_url":"https://api.github.com/repos/ankitjavalkar/online_test/subscription","commits_url":"https://api.github.com/repos/ankitjavalkar/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankitjavalkar/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankitjavalkar/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankitjavalkar/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankitjavalkar/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/ankitjavalkar/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankitjavalkar/online_test/merges","archive_url":"https://api.github.com/repos/ankitjavalkar/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankitjavalkar/online_test/downloads","issues_url":"https://api.github.com/repos/ankitjavalkar/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/ankitjavalkar/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/ankitjavalkar/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/ankitjavalkar/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankitjavalkar/online_test/labels{/name}","releases_url":"https://api.github.com/repos/ankitjavalkar/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/ankitjavalkar/online_test/deployments","created_at":"2015-02-02T09:15:24Z","updated_at":"2018-05-16T12:25:47Z","pushed_at":"2018-05-16T13:28:50Z","git_url":"git://github.com/ankitjavalkar/online_test.git","ssh_url":"git@github.com:ankitjavalkar/online_test.git","clone_url":"https://github.com/ankitjavalkar/online_test.git","svn_url":"https://github.com/ankitjavalkar/online_test","homepage":"","size":9301,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FOSSEE:master","ref":"master","sha":"28618863e1487627e24f24476afd0f7b12149bcb","user":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars3.githubusercontent.com/u/703487?v=4","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"repo":{"id":2734092,"name":"online_test","full_name":"FOSSEE/online_test","owner":{"login":"FOSSEE","id":703487,"avatar_url":"https://avatars3.githubusercontent.com/u/703487?v=4","gravatar_id":"","url":"https://api.github.com/users/FOSSEE","html_url":"https://github.com/FOSSEE","followers_url":"https://api.github.com/users/FOSSEE/followers","following_url":"https://api.github.com/users/FOSSEE/following{/other_user}","gists_url":"https://api.github.com/users/FOSSEE/gists{/gist_id}","starred_url":"https://api.github.com/users/FOSSEE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FOSSEE/subscriptions","organizations_url":"https://api.github.com/users/FOSSEE/orgs","repos_url":"https://api.github.com/users/FOSSEE/repos","events_url":"https://api.github.com/users/FOSSEE/events{/privacy}","received_events_url":"https://api.github.com/users/FOSSEE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FOSSEE/online_test","description":"Online quiz/exam taking application. ","fork":false,"url":"https://api.github.com/repos/FOSSEE/online_test","forks_url":"https://api.github.com/repos/FOSSEE/online_test/forks","keys_url":"https://api.github.com/repos/FOSSEE/online_test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FOSSEE/online_test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FOSSEE/online_test/teams","hooks_url":"https://api.github.com/repos/FOSSEE/online_test/hooks","issue_events_url":"https://api.github.com/repos/FOSSEE/online_test/issues/events{/number}","events_url":"https://api.github.com/repos/FOSSEE/online_test/events","assignees_url":"https://api.github.com/repos/FOSSEE/online_test/assignees{/user}","branches_url":"https://api.github.com/repos/FOSSEE/online_test/branches{/branch}","tags_url":"https://api.github.com/repos/FOSSEE/online_test/tags","blobs_url":"https://api.github.com/repos/FOSSEE/online_test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FOSSEE/online_test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FOSSEE/online_test/git/refs{/sha}","trees_url":"https://api.github.com/repos/FOSSEE/online_test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FOSSEE/online_test/statuses/{sha}","languages_url":"https://api.github.com/repos/FOSSEE/online_test/languages","stargazers_url":"https://api.github.com/repos/FOSSEE/online_test/stargazers","contributors_url":"https://api.github.com/repos/FOSSEE/online_test/contributors","subscribers_url":"https://api.github.com/repos/FOSSEE/online_test/subscribers","subscription_url":"https://api.github.com/repos/FOSSEE/online_test/subscription","commits_url":"https://api.github.com/repos/FOSSEE/online_test/commits{/sha}","git_commits_url":"https://api.github.com/repos/FOSSEE/online_test/git/commits{/sha}","comments_url":"https://api.github.com/repos/FOSSEE/online_test/comments{/number}","issue_comment_url":"https://api.github.com/repos/FOSSEE/online_test/issues/comments{/number}","contents_url":"https://api.github.com/repos/FOSSEE/online_test/contents/{+path}","compare_url":"https://api.github.com/repos/FOSSEE/online_test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FOSSEE/online_test/merges","archive_url":"https://api.github.com/repos/FOSSEE/online_test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FOSSEE/online_test/downloads","issues_url":"https://api.github.com/repos/FOSSEE/online_test/issues{/number}","pulls_url":"https://api.github.com/repos/FOSSEE/online_test/pulls{/number}","milestones_url":"https://api.github.com/repos/FOSSEE/online_test/milestones{/number}","notifications_url":"https://api.github.com/repos/FOSSEE/online_test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FOSSEE/online_test/labels{/name}","releases_url":"https://api.github.com/repos/FOSSEE/online_test/releases{/id}","deployments_url":"https://api.github.com/repos/FOSSEE/online_test/deployments","created_at":"2011-11-08T14:02:17Z","updated_at":"2018-05-18T03:53:10Z","pushed_at":"2018-05-16T13:28:52Z","git_url":"git://github.com/FOSSEE/online_test.git","ssh_url":"git@github.com:FOSSEE/online_test.git","clone_url":"https://github.com/FOSSEE/online_test.git","svn_url":"https://github.com/FOSSEE/online_test","homepage":"http://yaksh.fossee.in","size":9197,"stargazers_count":82,"watchers_count":82,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":65,"mirror_url":null,"archived":false,"open_issues_count":57,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":65,"open_issues":57,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/480"},"html":{"href":"https://github.com/FOSSEE/online_test/pull/480"},"issue":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/480"},"comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/issues/480/comments"},"review_comments":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/480/comments"},"review_comment":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FOSSEE/online_test/pulls/480/commits"},"statuses":{"href":"https://api.github.com/repos/FOSSEE/online_test/statuses/d90bd261a24d399a0fddf3287aa7f839392bf25c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"prathamesh920"}}