{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28","id":94971168,"html_url":"https://github.com/wearespindle/subscriptionform/pull/28","diff_url":"https://github.com/wearespindle/subscriptionform/pull/28.diff","patch_url":"https://github.com/wearespindle/subscriptionform/pull/28.patch","issue_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/28","number":28,"state":"open","locked":false,"title":"Custom Middleware for login_required","user":{"login":"RosienVT","id":16977677,"avatar_url":"https://avatars.githubusercontent.com/u/16977677?v=3","gravatar_id":"","url":"https://api.github.com/users/RosienVT","html_url":"https://github.com/RosienVT","followers_url":"https://api.github.com/users/RosienVT/followers","following_url":"https://api.github.com/users/RosienVT/following{/other_user}","gists_url":"https://api.github.com/users/RosienVT/gists{/gist_id}","starred_url":"https://api.github.com/users/RosienVT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RosienVT/subscriptions","organizations_url":"https://api.github.com/users/RosienVT/orgs","repos_url":"https://api.github.com/users/RosienVT/repos","events_url":"https://api.github.com/users/RosienVT/events{/privacy}","received_events_url":"https://api.github.com/users/RosienVT/received_events","type":"User","site_admin":false},"body":"Instead of using the `LoginRequiredMixin` on every single few, this seems more efficient :)\r\n(except that it needs to do an `from django.utils.deprecation import MiddlewareMixin` because in Django 1.10 some changes were made in the middlewarehandling.\r\n\r\nPlease pay extra attention to the LOGIN_EXEMPT_URLS as I might have missed some?","created_at":"2016-11-23T09:52:09Z","updated_at":"2016-11-23T09:52:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"bobvoorneveld","id":6303073,"avatar_url":"https://avatars.githubusercontent.com/u/6303073?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvoorneveld","html_url":"https://github.com/bobvoorneveld","followers_url":"https://api.github.com/users/bobvoorneveld/followers","following_url":"https://api.github.com/users/bobvoorneveld/following{/other_user}","gists_url":"https://api.github.com/users/bobvoorneveld/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvoorneveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvoorneveld/subscriptions","organizations_url":"https://api.github.com/users/bobvoorneveld/orgs","repos_url":"https://api.github.com/users/bobvoorneveld/repos","events_url":"https://api.github.com/users/bobvoorneveld/events{/privacy}","received_events_url":"https://api.github.com/users/bobvoorneveld/received_events","type":"User","site_admin":false},"assignees":[{"login":"bobvoorneveld","id":6303073,"avatar_url":"https://avatars.githubusercontent.com/u/6303073?v=3","gravatar_id":"","url":"https://api.github.com/users/bobvoorneveld","html_url":"https://github.com/bobvoorneveld","followers_url":"https://api.github.com/users/bobvoorneveld/followers","following_url":"https://api.github.com/users/bobvoorneveld/following{/other_user}","gists_url":"https://api.github.com/users/bobvoorneveld/gists{/gist_id}","starred_url":"https://api.github.com/users/bobvoorneveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobvoorneveld/subscriptions","organizations_url":"https://api.github.com/users/bobvoorneveld/orgs","repos_url":"https://api.github.com/users/bobvoorneveld/repos","events_url":"https://api.github.com/users/bobvoorneveld/events{/privacy}","received_events_url":"https://api.github.com/users/bobvoorneveld/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28/commits","review_comments_url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28/comments","review_comment_url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/28/comments","statuses_url":"https://api.github.com/repos/wearespindle/subscriptionform/statuses/efb028eba19bf1eafa6041c06381d643d2241262","head":{"label":"wearespindle:feature/login-required-88","ref":"feature/login-required-88","sha":"efb028eba19bf1eafa6041c06381d643d2241262","user":{"login":"wearespindle","id":10653309,"avatar_url":"https://avatars.githubusercontent.com/u/10653309?v=3","gravatar_id":"","url":"https://api.github.com/users/wearespindle","html_url":"https://github.com/wearespindle","followers_url":"https://api.github.com/users/wearespindle/followers","following_url":"https://api.github.com/users/wearespindle/following{/other_user}","gists_url":"https://api.github.com/users/wearespindle/gists{/gist_id}","starred_url":"https://api.github.com/users/wearespindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearespindle/subscriptions","organizations_url":"https://api.github.com/users/wearespindle/orgs","repos_url":"https://api.github.com/users/wearespindle/repos","events_url":"https://api.github.com/users/wearespindle/events{/privacy}","received_events_url":"https://api.github.com/users/wearespindle/received_events","type":"Organization","site_admin":false},"repo":{"id":68112493,"name":"subscriptionform","full_name":"wearespindle/subscriptionform","owner":{"login":"wearespindle","id":10653309,"avatar_url":"https://avatars.githubusercontent.com/u/10653309?v=3","gravatar_id":"","url":"https://api.github.com/users/wearespindle","html_url":"https://github.com/wearespindle","followers_url":"https://api.github.com/users/wearespindle/followers","following_url":"https://api.github.com/users/wearespindle/following{/other_user}","gists_url":"https://api.github.com/users/wearespindle/gists{/gist_id}","starred_url":"https://api.github.com/users/wearespindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearespindle/subscriptions","organizations_url":"https://api.github.com/users/wearespindle/orgs","repos_url":"https://api.github.com/users/wearespindle/repos","events_url":"https://api.github.com/users/wearespindle/events{/privacy}","received_events_url":"https://api.github.com/users/wearespindle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wearespindle/subscriptionform","description":"A subscription form for the Special Olympics Groningen organized by De Brug.","fork":false,"url":"https://api.github.com/repos/wearespindle/subscriptionform","forks_url":"https://api.github.com/repos/wearespindle/subscriptionform/forks","keys_url":"https://api.github.com/repos/wearespindle/subscriptionform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wearespindle/subscriptionform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wearespindle/subscriptionform/teams","hooks_url":"https://api.github.com/repos/wearespindle/subscriptionform/hooks","issue_events_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/events{/number}","events_url":"https://api.github.com/repos/wearespindle/subscriptionform/events","assignees_url":"https://api.github.com/repos/wearespindle/subscriptionform/assignees{/user}","branches_url":"https://api.github.com/repos/wearespindle/subscriptionform/branches{/branch}","tags_url":"https://api.github.com/repos/wearespindle/subscriptionform/tags","blobs_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/refs{/sha}","trees_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wearespindle/subscriptionform/statuses/{sha}","languages_url":"https://api.github.com/repos/wearespindle/subscriptionform/languages","stargazers_url":"https://api.github.com/repos/wearespindle/subscriptionform/stargazers","contributors_url":"https://api.github.com/repos/wearespindle/subscriptionform/contributors","subscribers_url":"https://api.github.com/repos/wearespindle/subscriptionform/subscribers","subscription_url":"https://api.github.com/repos/wearespindle/subscriptionform/subscription","commits_url":"https://api.github.com/repos/wearespindle/subscriptionform/commits{/sha}","git_commits_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/commits{/sha}","comments_url":"https://api.github.com/repos/wearespindle/subscriptionform/comments{/number}","issue_comment_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/comments{/number}","contents_url":"https://api.github.com/repos/wearespindle/subscriptionform/contents/{+path}","compare_url":"https://api.github.com/repos/wearespindle/subscriptionform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wearespindle/subscriptionform/merges","archive_url":"https://api.github.com/repos/wearespindle/subscriptionform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wearespindle/subscriptionform/downloads","issues_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues{/number}","pulls_url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls{/number}","milestones_url":"https://api.github.com/repos/wearespindle/subscriptionform/milestones{/number}","notifications_url":"https://api.github.com/repos/wearespindle/subscriptionform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wearespindle/subscriptionform/labels{/name}","releases_url":"https://api.github.com/repos/wearespindle/subscriptionform/releases{/id}","deployments_url":"https://api.github.com/repos/wearespindle/subscriptionform/deployments","created_at":"2016-09-13T13:47:10Z","updated_at":"2016-09-13T13:56:01Z","pushed_at":"2016-11-23T09:52:10Z","git_url":"git://github.com/wearespindle/subscriptionform.git","ssh_url":"git@github.com:wearespindle/subscriptionform.git","clone_url":"https://github.com/wearespindle/subscriptionform.git","svn_url":"https://github.com/wearespindle/subscriptionform","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"base":{"label":"wearespindle:develop","ref":"develop","sha":"46c2255e7f6265704bfe98374db7c2f58fbc5ba0","user":{"login":"wearespindle","id":10653309,"avatar_url":"https://avatars.githubusercontent.com/u/10653309?v=3","gravatar_id":"","url":"https://api.github.com/users/wearespindle","html_url":"https://github.com/wearespindle","followers_url":"https://api.github.com/users/wearespindle/followers","following_url":"https://api.github.com/users/wearespindle/following{/other_user}","gists_url":"https://api.github.com/users/wearespindle/gists{/gist_id}","starred_url":"https://api.github.com/users/wearespindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearespindle/subscriptions","organizations_url":"https://api.github.com/users/wearespindle/orgs","repos_url":"https://api.github.com/users/wearespindle/repos","events_url":"https://api.github.com/users/wearespindle/events{/privacy}","received_events_url":"https://api.github.com/users/wearespindle/received_events","type":"Organization","site_admin":false},"repo":{"id":68112493,"name":"subscriptionform","full_name":"wearespindle/subscriptionform","owner":{"login":"wearespindle","id":10653309,"avatar_url":"https://avatars.githubusercontent.com/u/10653309?v=3","gravatar_id":"","url":"https://api.github.com/users/wearespindle","html_url":"https://github.com/wearespindle","followers_url":"https://api.github.com/users/wearespindle/followers","following_url":"https://api.github.com/users/wearespindle/following{/other_user}","gists_url":"https://api.github.com/users/wearespindle/gists{/gist_id}","starred_url":"https://api.github.com/users/wearespindle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wearespindle/subscriptions","organizations_url":"https://api.github.com/users/wearespindle/orgs","repos_url":"https://api.github.com/users/wearespindle/repos","events_url":"https://api.github.com/users/wearespindle/events{/privacy}","received_events_url":"https://api.github.com/users/wearespindle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wearespindle/subscriptionform","description":"A subscription form for the Special Olympics Groningen organized by De Brug.","fork":false,"url":"https://api.github.com/repos/wearespindle/subscriptionform","forks_url":"https://api.github.com/repos/wearespindle/subscriptionform/forks","keys_url":"https://api.github.com/repos/wearespindle/subscriptionform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wearespindle/subscriptionform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wearespindle/subscriptionform/teams","hooks_url":"https://api.github.com/repos/wearespindle/subscriptionform/hooks","issue_events_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/events{/number}","events_url":"https://api.github.com/repos/wearespindle/subscriptionform/events","assignees_url":"https://api.github.com/repos/wearespindle/subscriptionform/assignees{/user}","branches_url":"https://api.github.com/repos/wearespindle/subscriptionform/branches{/branch}","tags_url":"https://api.github.com/repos/wearespindle/subscriptionform/tags","blobs_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/refs{/sha}","trees_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wearespindle/subscriptionform/statuses/{sha}","languages_url":"https://api.github.com/repos/wearespindle/subscriptionform/languages","stargazers_url":"https://api.github.com/repos/wearespindle/subscriptionform/stargazers","contributors_url":"https://api.github.com/repos/wearespindle/subscriptionform/contributors","subscribers_url":"https://api.github.com/repos/wearespindle/subscriptionform/subscribers","subscription_url":"https://api.github.com/repos/wearespindle/subscriptionform/subscription","commits_url":"https://api.github.com/repos/wearespindle/subscriptionform/commits{/sha}","git_commits_url":"https://api.github.com/repos/wearespindle/subscriptionform/git/commits{/sha}","comments_url":"https://api.github.com/repos/wearespindle/subscriptionform/comments{/number}","issue_comment_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues/comments{/number}","contents_url":"https://api.github.com/repos/wearespindle/subscriptionform/contents/{+path}","compare_url":"https://api.github.com/repos/wearespindle/subscriptionform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wearespindle/subscriptionform/merges","archive_url":"https://api.github.com/repos/wearespindle/subscriptionform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wearespindle/subscriptionform/downloads","issues_url":"https://api.github.com/repos/wearespindle/subscriptionform/issues{/number}","pulls_url":"https://api.github.com/repos/wearespindle/subscriptionform/pulls{/number}","milestones_url":"https://api.github.com/repos/wearespindle/subscriptionform/milestones{/number}","notifications_url":"https://api.github.com/repos/wearespindle/subscriptionform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wearespindle/subscriptionform/labels{/name}","releases_url":"https://api.github.com/repos/wearespindle/subscriptionform/releases{/id}","deployments_url":"https://api.github.com/repos/wearespindle/subscriptionform/deployments","created_at":"2016-09-13T13:47:10Z","updated_at":"2016-09-13T13:56:01Z","pushed_at":"2016-11-23T09:52:10Z","git_url":"git://github.com/wearespindle/subscriptionform.git","ssh_url":"git@github.com:wearespindle/subscriptionform.git","clone_url":"https://github.com/wearespindle/subscriptionform.git","svn_url":"https://github.com/wearespindle/subscriptionform","homepage":null,"size":105,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28"},"html":{"href":"https://github.com/wearespindle/subscriptionform/pull/28"},"issue":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/issues/28"},"comments":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/wearespindle/subscriptionform/statuses/efb028eba19bf1eafa6041c06381d643d2241262"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"RosienVT"}}