{"action":"opened","number":14,"pull_request":{"url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14","id":222708823,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNzA4ODIz","html_url":"https://github.com/florimondmanca/djangorestframework-api-key/pull/14","diff_url":"https://github.com/florimondmanca/djangorestframework-api-key/pull/14.diff","patch_url":"https://github.com/florimondmanca/djangorestframework-api-key/pull/14.patch","issue_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/14","number":14,"state":"open","locked":false,"title":"Add settings namespace","user":{"login":"florimondmanca","id":15911462,"node_id":"MDQ6VXNlcjE1OTExNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/15911462?v=4","gravatar_id":"","url":"https://api.github.com/users/florimondmanca","html_url":"https://github.com/florimondmanca","followers_url":"https://api.github.com/users/florimondmanca/followers","following_url":"https://api.github.com/users/florimondmanca/following{/other_user}","gists_url":"https://api.github.com/users/florimondmanca/gists{/gist_id}","starred_url":"https://api.github.com/users/florimondmanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florimondmanca/subscriptions","organizations_url":"https://api.github.com/users/florimondmanca/orgs","repos_url":"https://api.github.com/users/florimondmanca/repos","events_url":"https://api.github.com/users/florimondmanca/events{/privacy}","received_events_url":"https://api.github.com/users/florimondmanca/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\n- Use a namespace for djangorestframework-api-key specific settings: `DRF_API_KEY_*`\r\n- Update header settings to use this namespace\r\n- Add system checks so users are told to update their settings (below is an example output on the updated example project)\r\n\r\n```\r\n$ python manage.py check\r\nSystemCheckError: System check identified some issues:\r\n\r\nERRORS:\r\n<Settings \"example.settings\">: (rest_framework_api_key.E001) Setting API_TOKEN_HEADER has been deprecated in v0.3\r\n        HINT: Use the API_KEY_TOKEN_HEADER setting instead.\r\n<Settings \"example.settings\">: (rest_framework_api_key.E002) Setting API_SECRET_KEY_HEADER has been deprecated in v0.3\r\n        HINT: Use the API_KEY_SECRET_KEY_HEADER setting instead.\r\n\r\nSystem check identified 2 issues (0 silenced).\r\n```\r\n\r\nFix #13 ","created_at":"2018-10-14T11:13:59Z","updated_at":"2018-10-14T11:13:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14/commits","review_comments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14/comments","review_comment_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/comments{/number}","comments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/14/comments","statuses_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/statuses/4a0eb708039180df98493ff13b8daef3c46316f0","head":{"label":"florimondmanca:enhancement/settings-namespace","ref":"enhancement/settings-namespace","sha":"4a0eb708039180df98493ff13b8daef3c46316f0","user":{"login":"florimondmanca","id":15911462,"node_id":"MDQ6VXNlcjE1OTExNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/15911462?v=4","gravatar_id":"","url":"https://api.github.com/users/florimondmanca","html_url":"https://github.com/florimondmanca","followers_url":"https://api.github.com/users/florimondmanca/followers","following_url":"https://api.github.com/users/florimondmanca/following{/other_user}","gists_url":"https://api.github.com/users/florimondmanca/gists{/gist_id}","starred_url":"https://api.github.com/users/florimondmanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florimondmanca/subscriptions","organizations_url":"https://api.github.com/users/florimondmanca/orgs","repos_url":"https://api.github.com/users/florimondmanca/repos","events_url":"https://api.github.com/users/florimondmanca/events{/privacy}","received_events_url":"https://api.github.com/users/florimondmanca/received_events","type":"User","site_admin":false},"repo":{"id":142661285,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NjEyODU=","name":"djangorestframework-api-key","full_name":"florimondmanca/djangorestframework-api-key","private":false,"owner":{"login":"florimondmanca","id":15911462,"node_id":"MDQ6VXNlcjE1OTExNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/15911462?v=4","gravatar_id":"","url":"https://api.github.com/users/florimondmanca","html_url":"https://github.com/florimondmanca","followers_url":"https://api.github.com/users/florimondmanca/followers","following_url":"https://api.github.com/users/florimondmanca/following{/other_user}","gists_url":"https://api.github.com/users/florimondmanca/gists{/gist_id}","starred_url":"https://api.github.com/users/florimondmanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florimondmanca/subscriptions","organizations_url":"https://api.github.com/users/florimondmanca/orgs","repos_url":"https://api.github.com/users/florimondmanca/repos","events_url":"https://api.github.com/users/florimondmanca/events{/privacy}","received_events_url":"https://api.github.com/users/florimondmanca/received_events","type":"User","site_admin":false},"html_url":"https://github.com/florimondmanca/djangorestframework-api-key","description":"🔐 API Key permissions for the Django REST Framework","fork":false,"url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key","forks_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/forks","keys_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/teams","hooks_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/hooks","issue_events_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/events{/number}","events_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/events","assignees_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/assignees{/user}","branches_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/branches{/branch}","tags_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/tags","blobs_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/refs{/sha}","trees_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/statuses/{sha}","languages_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/languages","stargazers_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/stargazers","contributors_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/contributors","subscribers_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/subscribers","subscription_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/subscription","commits_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/commits{/sha}","git_commits_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/commits{/sha}","comments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/comments{/number}","issue_comment_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/comments{/number}","contents_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/contents/{+path}","compare_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/merges","archive_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/downloads","issues_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues{/number}","pulls_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls{/number}","milestones_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/milestones{/number}","notifications_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/labels{/name}","releases_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/releases{/id}","deployments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/deployments","created_at":"2018-07-28T08:39:07Z","updated_at":"2018-10-14T11:08:04Z","pushed_at":"2018-10-14T11:13:52Z","git_url":"git://github.com/florimondmanca/djangorestframework-api-key.git","ssh_url":"git@github.com:florimondmanca/djangorestframework-api-key.git","clone_url":"https://github.com/florimondmanca/djangorestframework-api-key.git","svn_url":"https://github.com/florimondmanca/djangorestframework-api-key","homepage":"https://pypi.org/project/djangorestframework-api-key/","size":412,"stargazers_count":4,"watchers_count":4,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"florimondmanca:master","ref":"master","sha":"6b35d3c2c5240982fb68443f4a01e0e7cb95bcd9","user":{"login":"florimondmanca","id":15911462,"node_id":"MDQ6VXNlcjE1OTExNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/15911462?v=4","gravatar_id":"","url":"https://api.github.com/users/florimondmanca","html_url":"https://github.com/florimondmanca","followers_url":"https://api.github.com/users/florimondmanca/followers","following_url":"https://api.github.com/users/florimondmanca/following{/other_user}","gists_url":"https://api.github.com/users/florimondmanca/gists{/gist_id}","starred_url":"https://api.github.com/users/florimondmanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florimondmanca/subscriptions","organizations_url":"https://api.github.com/users/florimondmanca/orgs","repos_url":"https://api.github.com/users/florimondmanca/repos","events_url":"https://api.github.com/users/florimondmanca/events{/privacy}","received_events_url":"https://api.github.com/users/florimondmanca/received_events","type":"User","site_admin":false},"repo":{"id":142661285,"node_id":"MDEwOlJlcG9zaXRvcnkxNDI2NjEyODU=","name":"djangorestframework-api-key","full_name":"florimondmanca/djangorestframework-api-key","private":false,"owner":{"login":"florimondmanca","id":15911462,"node_id":"MDQ6VXNlcjE1OTExNDYy","avatar_url":"https://avatars0.githubusercontent.com/u/15911462?v=4","gravatar_id":"","url":"https://api.github.com/users/florimondmanca","html_url":"https://github.com/florimondmanca","followers_url":"https://api.github.com/users/florimondmanca/followers","following_url":"https://api.github.com/users/florimondmanca/following{/other_user}","gists_url":"https://api.github.com/users/florimondmanca/gists{/gist_id}","starred_url":"https://api.github.com/users/florimondmanca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florimondmanca/subscriptions","organizations_url":"https://api.github.com/users/florimondmanca/orgs","repos_url":"https://api.github.com/users/florimondmanca/repos","events_url":"https://api.github.com/users/florimondmanca/events{/privacy}","received_events_url":"https://api.github.com/users/florimondmanca/received_events","type":"User","site_admin":false},"html_url":"https://github.com/florimondmanca/djangorestframework-api-key","description":"🔐 API Key permissions for the Django REST Framework","fork":false,"url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key","forks_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/forks","keys_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/keys{/key_id}","collaborators_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/teams","hooks_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/hooks","issue_events_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/events{/number}","events_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/events","assignees_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/assignees{/user}","branches_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/branches{/branch}","tags_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/tags","blobs_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/refs{/sha}","trees_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/trees{/sha}","statuses_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/statuses/{sha}","languages_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/languages","stargazers_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/stargazers","contributors_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/contributors","subscribers_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/subscribers","subscription_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/subscription","commits_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/commits{/sha}","git_commits_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/git/commits{/sha}","comments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/comments{/number}","issue_comment_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/comments{/number}","contents_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/contents/{+path}","compare_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/compare/{base}...{head}","merges_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/merges","archive_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/downloads","issues_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues{/number}","pulls_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls{/number}","milestones_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/milestones{/number}","notifications_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/labels{/name}","releases_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/releases{/id}","deployments_url":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/deployments","created_at":"2018-07-28T08:39:07Z","updated_at":"2018-10-14T11:08:04Z","pushed_at":"2018-10-14T11:13:52Z","git_url":"git://github.com/florimondmanca/djangorestframework-api-key.git","ssh_url":"git@github.com:florimondmanca/djangorestframework-api-key.git","clone_url":"https://github.com/florimondmanca/djangorestframework-api-key.git","svn_url":"https://github.com/florimondmanca/djangorestframework-api-key","homepage":"https://pypi.org/project/djangorestframework-api-key/","size":412,"stargazers_count":4,"watchers_count":4,"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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14"},"html":{"href":"https://github.com/florimondmanca/djangorestframework-api-key/pull/14"},"issue":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/14"},"comments":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/florimondmanca/djangorestframework-api-key/statuses/4a0eb708039180df98493ff13b8daef3c46316f0"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":61,"deletions":12,"changed_files":7}}
{"actor":{"display_login":"florimondmanca"}}