Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration Serializer should not create user with username #358

Open
DevJaco opened this issue Oct 8, 2024 · 0 comments
Open

Registration Serializer should not create user with username #358

DevJaco opened this issue Oct 8, 2024 · 0 comments

Comments

@DevJaco
Copy link

DevJaco commented Oct 8, 2024

When calling the create_user function on the RegisterUserSerializer the field 'username' is passed.
Django Oscar's abstract User model does not use the username field.
Possibly remove this from the serializer and allow the user to override if they are not using this model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant