{"action":"created","comment":{"url":"https://api.github.com/repos/interactivemap/backend/pulls/comments/209407324","pull_request_review_id":145425829,"id":209407324,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwOTQwNzMyNA==","diff_hunk":"@@ -129,7 +134,18 @@\n STATIC_URL = '/static/'\n STATIC_ROOT = os.path.join(BASE_DIR, 'static')\n \n-# Graphene\n-GRAPHENE = {\n-    'SCHEMA': 'interactivemap.schema.schema' # Where your Graphene schema lives\n+REST_FRAMEWORK = {\n+    # Use Django's standard `django.contrib.auth` permissions,\n+    # or allow read-only access for unauthenticated users.\n+    'DEFAULT_PERMISSION_CLASSES': [\n+        'rest_framework.permissions.IsAuthenticated',\n+    ],\n+    'DEFAULT_AUTHENTICATION_CLASSES': (\n+        'rest_framework.authentication.TokenAuthentication',\n+    )\n }\n+\n+CORS_ORIGIN_WHITELIST = (\n+    'localhost:3000',\n+    'frontend-*.now.sh',","path":"project/interactivemap/settings.py","position":42,"original_position":42,"commit_id":"8a2d5f98d249418ebe85479d73627b260a932763","original_commit_id":"8a2d5f98d249418ebe85479d73627b260a932763","user":{"login":"whirish","id":6278600,"node_id":"MDQ6VXNlcjYyNzg2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6278600?v=4","gravatar_id":"","url":"https://api.github.com/users/whirish","html_url":"https://github.com/whirish","followers_url":"https://api.github.com/users/whirish/followers","following_url":"https://api.github.com/users/whirish/following{/other_user}","gists_url":"https://api.github.com/users/whirish/gists{/gist_id}","starred_url":"https://api.github.com/users/whirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirish/subscriptions","organizations_url":"https://api.github.com/users/whirish/orgs","repos_url":"https://api.github.com/users/whirish/repos","events_url":"https://api.github.com/users/whirish/events{/privacy}","received_events_url":"https://api.github.com/users/whirish/received_events","type":"User","site_admin":false},"body":"Noted","created_at":"2018-08-10T23:47:15Z","updated_at":"2018-08-10T23:47:15Z","html_url":"https://github.com/interactivemap/backend/pull/7#discussion_r209407324","pull_request_url":"https://api.github.com/repos/interactivemap/backend/pulls/7","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/comments/209407324"},"html":{"href":"https://github.com/interactivemap/backend/pull/7#discussion_r209407324"},"pull_request":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/7"}},"in_reply_to_id":209297981},"pull_request":{"url":"https://api.github.com/repos/interactivemap/backend/pulls/7","id":206870739,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODcwNzM5","html_url":"https://github.com/interactivemap/backend/pull/7","diff_url":"https://github.com/interactivemap/backend/pull/7.diff","patch_url":"https://github.com/interactivemap/backend/pull/7.patch","issue_url":"https://api.github.com/repos/interactivemap/backend/issues/7","number":7,"state":"open","locked":false,"title":"REST Authentication","user":{"login":"whirish","id":6278600,"node_id":"MDQ6VXNlcjYyNzg2MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/6278600?v=4","gravatar_id":"","url":"https://api.github.com/users/whirish","html_url":"https://github.com/whirish","followers_url":"https://api.github.com/users/whirish/followers","following_url":"https://api.github.com/users/whirish/following{/other_user}","gists_url":"https://api.github.com/users/whirish/gists{/gist_id}","starred_url":"https://api.github.com/users/whirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whirish/subscriptions","organizations_url":"https://api.github.com/users/whirish/orgs","repos_url":"https://api.github.com/users/whirish/repos","events_url":"https://api.github.com/users/whirish/events{/privacy}","received_events_url":"https://api.github.com/users/whirish/received_events","type":"User","site_admin":false},"body":"Blocked by #6 ","created_at":"2018-08-08T01:44:27Z","updated_at":"2018-08-10T23:47:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fda3899e524bb750edf88189cde95a61a48bdee1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":998095722,"node_id":"MDU6TGFiZWw5OTgwOTU3MjI=","url":"https://api.github.com/repos/interactivemap/backend/labels/kind/API","name":"kind/API","color":"d6f760","default":false},{"id":998093506,"node_id":"MDU6TGFiZWw5OTgwOTM1MDY=","url":"https://api.github.com/repos/interactivemap/backend/labels/kind/security","name":"kind/security","color":"e11d21","default":false},{"id":998093509,"node_id":"MDU6TGFiZWw5OTgwOTM1MDk=","url":"https://api.github.com/repos/interactivemap/backend/labels/status/review%20later","name":"status/review later","color":"fad8c7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/interactivemap/backend/pulls/7/commits","review_comments_url":"https://api.github.com/repos/interactivemap/backend/pulls/7/comments","review_comment_url":"https://api.github.com/repos/interactivemap/backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/interactivemap/backend/issues/7/comments","statuses_url":"https://api.github.com/repos/interactivemap/backend/statuses/8a2d5f98d249418ebe85479d73627b260a932763","head":{"label":"interactivemap:wh-RESTauth","ref":"wh-RESTauth","sha":"8a2d5f98d249418ebe85479d73627b260a932763","user":{"login":"interactivemap","id":36326682,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzI2Njgy","avatar_url":"https://avatars2.githubusercontent.com/u/36326682?v=4","gravatar_id":"","url":"https://api.github.com/users/interactivemap","html_url":"https://github.com/interactivemap","followers_url":"https://api.github.com/users/interactivemap/followers","following_url":"https://api.github.com/users/interactivemap/following{/other_user}","gists_url":"https://api.github.com/users/interactivemap/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivemap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivemap/subscriptions","organizations_url":"https://api.github.com/users/interactivemap/orgs","repos_url":"https://api.github.com/users/interactivemap/repos","events_url":"https://api.github.com/users/interactivemap/events{/privacy}","received_events_url":"https://api.github.com/users/interactivemap/received_events","type":"Organization","site_admin":false},"repo":{"id":140872460,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4NzI0NjA=","name":"backend","full_name":"interactivemap/backend","owner":{"login":"interactivemap","id":36326682,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzI2Njgy","avatar_url":"https://avatars2.githubusercontent.com/u/36326682?v=4","gravatar_id":"","url":"https://api.github.com/users/interactivemap","html_url":"https://github.com/interactivemap","followers_url":"https://api.github.com/users/interactivemap/followers","following_url":"https://api.github.com/users/interactivemap/following{/other_user}","gists_url":"https://api.github.com/users/interactivemap/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivemap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivemap/subscriptions","organizations_url":"https://api.github.com/users/interactivemap/orgs","repos_url":"https://api.github.com/users/interactivemap/repos","events_url":"https://api.github.com/users/interactivemap/events{/privacy}","received_events_url":"https://api.github.com/users/interactivemap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interactivemap/backend","description":null,"fork":false,"url":"https://api.github.com/repos/interactivemap/backend","forks_url":"https://api.github.com/repos/interactivemap/backend/forks","keys_url":"https://api.github.com/repos/interactivemap/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interactivemap/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interactivemap/backend/teams","hooks_url":"https://api.github.com/repos/interactivemap/backend/hooks","issue_events_url":"https://api.github.com/repos/interactivemap/backend/issues/events{/number}","events_url":"https://api.github.com/repos/interactivemap/backend/events","assignees_url":"https://api.github.com/repos/interactivemap/backend/assignees{/user}","branches_url":"https://api.github.com/repos/interactivemap/backend/branches{/branch}","tags_url":"https://api.github.com/repos/interactivemap/backend/tags","blobs_url":"https://api.github.com/repos/interactivemap/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interactivemap/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interactivemap/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/interactivemap/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interactivemap/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/interactivemap/backend/languages","stargazers_url":"https://api.github.com/repos/interactivemap/backend/stargazers","contributors_url":"https://api.github.com/repos/interactivemap/backend/contributors","subscribers_url":"https://api.github.com/repos/interactivemap/backend/subscribers","subscription_url":"https://api.github.com/repos/interactivemap/backend/subscription","commits_url":"https://api.github.com/repos/interactivemap/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/interactivemap/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/interactivemap/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/interactivemap/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/interactivemap/backend/contents/{+path}","compare_url":"https://api.github.com/repos/interactivemap/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interactivemap/backend/merges","archive_url":"https://api.github.com/repos/interactivemap/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interactivemap/backend/downloads","issues_url":"https://api.github.com/repos/interactivemap/backend/issues{/number}","pulls_url":"https://api.github.com/repos/interactivemap/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/interactivemap/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/interactivemap/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interactivemap/backend/labels{/name}","releases_url":"https://api.github.com/repos/interactivemap/backend/releases{/id}","deployments_url":"https://api.github.com/repos/interactivemap/backend/deployments","created_at":"2018-07-13T16:59:02Z","updated_at":"2018-08-09T07:43:04Z","pushed_at":"2018-08-10T02:16:50Z","git_url":"git://github.com/interactivemap/backend.git","ssh_url":"git@github.com:interactivemap/backend.git","clone_url":"https://github.com/interactivemap/backend.git","svn_url":"https://github.com/interactivemap/backend","homepage":null,"size":1198,"stargazers_count":1,"watchers_count":1,"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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"interactivemap:master","ref":"master","sha":"70eed84d55c029effb307e47d3458101cf2f361a","user":{"login":"interactivemap","id":36326682,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzI2Njgy","avatar_url":"https://avatars2.githubusercontent.com/u/36326682?v=4","gravatar_id":"","url":"https://api.github.com/users/interactivemap","html_url":"https://github.com/interactivemap","followers_url":"https://api.github.com/users/interactivemap/followers","following_url":"https://api.github.com/users/interactivemap/following{/other_user}","gists_url":"https://api.github.com/users/interactivemap/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivemap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivemap/subscriptions","organizations_url":"https://api.github.com/users/interactivemap/orgs","repos_url":"https://api.github.com/users/interactivemap/repos","events_url":"https://api.github.com/users/interactivemap/events{/privacy}","received_events_url":"https://api.github.com/users/interactivemap/received_events","type":"Organization","site_admin":false},"repo":{"id":140872460,"node_id":"MDEwOlJlcG9zaXRvcnkxNDA4NzI0NjA=","name":"backend","full_name":"interactivemap/backend","owner":{"login":"interactivemap","id":36326682,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2MzI2Njgy","avatar_url":"https://avatars2.githubusercontent.com/u/36326682?v=4","gravatar_id":"","url":"https://api.github.com/users/interactivemap","html_url":"https://github.com/interactivemap","followers_url":"https://api.github.com/users/interactivemap/followers","following_url":"https://api.github.com/users/interactivemap/following{/other_user}","gists_url":"https://api.github.com/users/interactivemap/gists{/gist_id}","starred_url":"https://api.github.com/users/interactivemap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/interactivemap/subscriptions","organizations_url":"https://api.github.com/users/interactivemap/orgs","repos_url":"https://api.github.com/users/interactivemap/repos","events_url":"https://api.github.com/users/interactivemap/events{/privacy}","received_events_url":"https://api.github.com/users/interactivemap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/interactivemap/backend","description":null,"fork":false,"url":"https://api.github.com/repos/interactivemap/backend","forks_url":"https://api.github.com/repos/interactivemap/backend/forks","keys_url":"https://api.github.com/repos/interactivemap/backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/interactivemap/backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/interactivemap/backend/teams","hooks_url":"https://api.github.com/repos/interactivemap/backend/hooks","issue_events_url":"https://api.github.com/repos/interactivemap/backend/issues/events{/number}","events_url":"https://api.github.com/repos/interactivemap/backend/events","assignees_url":"https://api.github.com/repos/interactivemap/backend/assignees{/user}","branches_url":"https://api.github.com/repos/interactivemap/backend/branches{/branch}","tags_url":"https://api.github.com/repos/interactivemap/backend/tags","blobs_url":"https://api.github.com/repos/interactivemap/backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/interactivemap/backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/interactivemap/backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/interactivemap/backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/interactivemap/backend/statuses/{sha}","languages_url":"https://api.github.com/repos/interactivemap/backend/languages","stargazers_url":"https://api.github.com/repos/interactivemap/backend/stargazers","contributors_url":"https://api.github.com/repos/interactivemap/backend/contributors","subscribers_url":"https://api.github.com/repos/interactivemap/backend/subscribers","subscription_url":"https://api.github.com/repos/interactivemap/backend/subscription","commits_url":"https://api.github.com/repos/interactivemap/backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/interactivemap/backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/interactivemap/backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/interactivemap/backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/interactivemap/backend/contents/{+path}","compare_url":"https://api.github.com/repos/interactivemap/backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/interactivemap/backend/merges","archive_url":"https://api.github.com/repos/interactivemap/backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/interactivemap/backend/downloads","issues_url":"https://api.github.com/repos/interactivemap/backend/issues{/number}","pulls_url":"https://api.github.com/repos/interactivemap/backend/pulls{/number}","milestones_url":"https://api.github.com/repos/interactivemap/backend/milestones{/number}","notifications_url":"https://api.github.com/repos/interactivemap/backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/interactivemap/backend/labels{/name}","releases_url":"https://api.github.com/repos/interactivemap/backend/releases{/id}","deployments_url":"https://api.github.com/repos/interactivemap/backend/deployments","created_at":"2018-07-13T16:59:02Z","updated_at":"2018-08-09T07:43:04Z","pushed_at":"2018-08-10T02:16:50Z","git_url":"git://github.com/interactivemap/backend.git","ssh_url":"git@github.com:interactivemap/backend.git","clone_url":"https://github.com/interactivemap/backend.git","svn_url":"https://github.com/interactivemap/backend","homepage":null,"size":1198,"stargazers_count":1,"watchers_count":1,"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":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/7"},"html":{"href":"https://github.com/interactivemap/backend/pull/7"},"issue":{"href":"https://api.github.com/repos/interactivemap/backend/issues/7"},"comments":{"href":"https://api.github.com/repos/interactivemap/backend/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/interactivemap/backend/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/interactivemap/backend/statuses/8a2d5f98d249418ebe85479d73627b260a932763"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"whirish"}}