{"comment":{"url":"https://api.github.com/repos/Alquimar/simplemooc/comments/25215089","html_url":"https://github.com/Alquimar/simplemooc/commit/702dc0a3abb5df4c19c70280152a632ca29d74fd#commitcomment-25215089","id":25215089,"user":{"login":"Alquimar","id":3649748,"avatar_url":"https://avatars3.githubusercontent.com/u/3649748?v=4","gravatar_id":"","url":"https://api.github.com/users/Alquimar","html_url":"https://github.com/Alquimar","followers_url":"https://api.github.com/users/Alquimar/followers","following_url":"https://api.github.com/users/Alquimar/following{/other_user}","gists_url":"https://api.github.com/users/Alquimar/gists{/gist_id}","starred_url":"https://api.github.com/users/Alquimar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alquimar/subscriptions","organizations_url":"https://api.github.com/users/Alquimar/orgs","repos_url":"https://api.github.com/users/Alquimar/repos","events_url":"https://api.github.com/users/Alquimar/events{/privacy}","received_events_url":"https://api.github.com/users/Alquimar/received_events","type":"User","site_admin":false},"position":3,"line":3,"path":"simplemooc/accounts/views.py","commit_id":"702dc0a3abb5df4c19c70280152a632ca29d74fd","created_at":"2017-10-26T17:58:12Z","updated_at":"2017-10-26T17:58:12Z","author_association":"OWNER","body":"Import da função \"login_required\" do Django. Essa função é necessária quando queremos garantir que o usuário pode acessar determinada página, somente se estiver logado. Portanto, essa função verifica se o usuário está logado, em caso positivo, redireciona para a página requisitado, caso contrário, redireciona para a página de login e após o login realizado com sucesso, redireciona para a página requistada"}}
{"actor":{"display_login":"Alquimar"}}