{"action":"created","issue":{"url":"https://api.github.com/repos/django-oscar/django-oscar/issues/2087","repository_url":"https://api.github.com/repos/django-oscar/django-oscar","labels_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/2087/labels{/name}","comments_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/2087/comments","events_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/2087/events","html_url":"https://github.com/django-oscar/django-oscar/issues/2087","id":170069373,"number":2087,"title":"Add username to oscar's user forms","user":{"login":"SalahAdDin","id":5034215,"avatar_url":"https://avatars.githubusercontent.com/u/5034215?v=3","gravatar_id":"","url":"https://api.github.com/users/SalahAdDin","html_url":"https://github.com/SalahAdDin","followers_url":"https://api.github.com/users/SalahAdDin/followers","following_url":"https://api.github.com/users/SalahAdDin/following{/other_user}","gists_url":"https://api.github.com/users/SalahAdDin/gists{/gist_id}","starred_url":"https://api.github.com/users/SalahAdDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalahAdDin/subscriptions","organizations_url":"https://api.github.com/users/SalahAdDin/orgs","repos_url":"https://api.github.com/users/SalahAdDin/repos","events_url":"https://api.github.com/users/SalahAdDin/events{/privacy}","received_events_url":"https://api.github.com/users/SalahAdDin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-09T02:41:03Z","updated_at":"2016-08-26T02:21:29Z","closed_at":null,"body":"Hi guys, i'm working in two projects with Oscar and i'm testing all features.\r\n\r\nCreating a partner i have to link users but creating they, the create user form, as register form, put email and password fields but username.\r\n\r\n![seleccion_144](https://cloud.githubusercontent.com/assets/5034215/17502593/d3585bb6-5dae-11e6-85a6-0f68afdd766a.png)\r\nI went to `Partners` admin module and i found the partner's linked users and i found this horrible thing.\r\n\r\n![seleccion_143](https://cloud.githubusercontent.com/assets/5034215/17502592/d31879b0-5dae-11e6-89e0-bcb2fbc86b8d.png)\r\nSo, i want see the user list and i found this horrible thing: Oscar's register form create a random username for the new users.\r\n\r\n![seleccion_146](https://cloud.githubusercontent.com/assets/5034215/17502595/d3a74b9a-5dae-11e6-9a2c-94f3a447e085.png)\r\nI tried to edit the account profile and i couldn't found the username field.\r\n\r\n![seleccion_145](https://cloud.githubusercontent.com/assets/5034215/17502594/d37f4866-5dae-11e6-874b-01daba622e86.png)\r\nI verified the register name thinking that i could forgot put the username when i register that user, but, in register form username doesn't exist.\r\n\r\nI created two users with username and i could create they, so, i think that Oscar doesn't restrict the user back end.\r\n\r\nSo, Have you thinking about add username to forms? "},"comment":{"url":"https://api.github.com/repos/django-oscar/django-oscar/issues/comments/242607560","html_url":"https://github.com/django-oscar/django-oscar/issues/2087#issuecomment-242607560","issue_url":"https://api.github.com/repos/django-oscar/django-oscar/issues/2087","id":242607560,"user":{"login":"SalahAdDin","id":5034215,"avatar_url":"https://avatars.githubusercontent.com/u/5034215?v=3","gravatar_id":"","url":"https://api.github.com/users/SalahAdDin","html_url":"https://github.com/SalahAdDin","followers_url":"https://api.github.com/users/SalahAdDin/followers","following_url":"https://api.github.com/users/SalahAdDin/following{/other_user}","gists_url":"https://api.github.com/users/SalahAdDin/gists{/gist_id}","starred_url":"https://api.github.com/users/SalahAdDin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SalahAdDin/subscriptions","organizations_url":"https://api.github.com/users/SalahAdDin/orgs","repos_url":"https://api.github.com/users/SalahAdDin/repos","events_url":"https://api.github.com/users/SalahAdDin/events{/privacy}","received_events_url":"https://api.github.com/users/SalahAdDin/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T02:21:29Z","updated_at":"2016-08-26T02:21:29Z","body":"Creating my custom user model based your models i can see that `username` field isn't in `user` model, at least in my case, but in `django-oscar` model is, at least i can see in the admin site.\r\n\r\nWhy?"}}
{"actor":{"display_login":"SalahAdDin"}}