{"action":"opened","issue":{"url":"https://api.github.com/repos/wq/wq.db/issues/59","repository_url":"https://api.github.com/repos/wq/wq.db","labels_url":"https://api.github.com/repos/wq/wq.db/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/wq/wq.db/issues/59/comments","events_url":"https://api.github.com/repos/wq/wq.db/issues/59/events","html_url":"https://github.com/wq/wq.db/issues/59","id":188822646,"number":59,"title":"no user profile information available in login.json","user":{"login":"tomaszn","id":981572,"avatar_url":"https://avatars.githubusercontent.com/u/981572?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszn","html_url":"https://github.com/tomaszn","followers_url":"https://api.github.com/users/tomaszn/followers","following_url":"https://api.github.com/users/tomaszn/following{/other_user}","gists_url":"https://api.github.com/users/tomaszn/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszn/subscriptions","organizations_url":"https://api.github.com/users/tomaszn/orgs","repos_url":"https://api.github.com/users/tomaszn/repos","events_url":"https://api.github.com/users/tomaszn/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-11T18:37:33Z","updated_at":"2016-11-11T18:37:33Z","closed_at":null,"body":"One of the least intrusive ways to extend the Django's User model is to create a separate model with OneToOne relation to the User model, that contains additional fields about the user (e.g. the company he belongs to). \r\nIt would be useful if the serializer could include that information at /login.json. \r\nOne solution would be to provide a configuration option \"EXPOSE_USER_PROFILE_CLASSES\" and use it to add related OneToOne objects recursively (e.g. to access user.profile.company.name)."}}
{"actor":{"display_login":"tomaszn"}}