{"action":"created","issue":{"url":"https://api.github.com/repos/Brobin/drf-generators/issues/15","labels_url":"https://api.github.com/repos/Brobin/drf-generators/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/Brobin/drf-generators/issues/15/comments","events_url":"https://api.github.com/repos/Brobin/drf-generators/issues/15/events","html_url":"https://github.com/Brobin/drf-generators/issues/15","id":111266689,"number":15,"title":"Add Authentication classes to Views","user":{"login":"Brobin","id":6194619,"avatar_url":"https://avatars.githubusercontent.com/u/6194619?v=3","gravatar_id":"","url":"https://api.github.com/users/Brobin","html_url":"https://github.com/Brobin","followers_url":"https://api.github.com/users/Brobin/followers","following_url":"https://api.github.com/users/Brobin/following{/other_user}","gists_url":"https://api.github.com/users/Brobin/gists{/gist_id}","starred_url":"https://api.github.com/users/Brobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brobin/subscriptions","organizations_url":"https://api.github.com/users/Brobin/orgs","repos_url":"https://api.github.com/users/Brobin/repos","events_url":"https://api.github.com/users/Brobin/events{/privacy}","received_events_url":"https://api.github.com/users/Brobin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Brobin/drf-generators/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Brobin/drf-generators/labels/feature","name":"feature","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Brobin/drf-generators/milestones/2","html_url":"https://github.com/Brobin/drf-generators/milestones/1.0.0%20Release","labels_url":"https://api.github.com/repos/Brobin/drf-generators/milestones/2/labels","id":1354520,"number":2,"title":"1.0.0 Release","description":"Make sure that all bugs are ironed out and get a 1.0 release out","creator":{"login":"Brobin","id":6194619,"avatar_url":"https://avatars.githubusercontent.com/u/6194619?v=3","gravatar_id":"","url":"https://api.github.com/users/Brobin","html_url":"https://github.com/Brobin","followers_url":"https://api.github.com/users/Brobin/followers","following_url":"https://api.github.com/users/Brobin/following{/other_user}","gists_url":"https://api.github.com/users/Brobin/gists{/gist_id}","starred_url":"https://api.github.com/users/Brobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brobin/subscriptions","organizations_url":"https://api.github.com/users/Brobin/orgs","repos_url":"https://api.github.com/users/Brobin/repos","events_url":"https://api.github.com/users/Brobin/events{/privacy}","received_events_url":"https://api.github.com/users/Brobin/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2015-10-14T02:36:00Z","updated_at":"2015-10-21T02:15:00Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-10-13T20:43:45Z","updated_at":"2015-10-21T02:15:00Z","closed_at":"2015-10-21T02:15:00Z","body":"Add default authentication to views.\r\n\r\nExample for viewset, modelviewset, apiview\r\n```python\r\nfrom rest_framework import authentication, permissions\r\n\r\nclass SomeViewSet(SomeViewType):\r\n    authentication_classes = (authentication.TokenAuthentication,)\r\n```\r\n\r\nExample for function based\r\n```python\r\n@authentication_classes(...)\r\ndef some_veiw():\r\n    ...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Brobin/drf-generators/issues/comments/149758738","html_url":"https://github.com/Brobin/drf-generators/issues/15#issuecomment-149758738","issue_url":"https://api.github.com/repos/Brobin/drf-generators/issues/15","id":149758738,"user":{"login":"Brobin","id":6194619,"avatar_url":"https://avatars.githubusercontent.com/u/6194619?v=3","gravatar_id":"","url":"https://api.github.com/users/Brobin","html_url":"https://github.com/Brobin","followers_url":"https://api.github.com/users/Brobin/followers","following_url":"https://api.github.com/users/Brobin/following{/other_user}","gists_url":"https://api.github.com/users/Brobin/gists{/gist_id}","starred_url":"https://api.github.com/users/Brobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brobin/subscriptions","organizations_url":"https://api.github.com/users/Brobin/orgs","repos_url":"https://api.github.com/users/Brobin/repos","events_url":"https://api.github.com/users/Brobin/events{/privacy}","received_events_url":"https://api.github.com/users/Brobin/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T02:15:00Z","updated_at":"2015-10-21T02:15:00Z","body":"Decided this isn't something we need right away. Generators gives you a starting point, not a production ready API."}}