Skip to content

Adding 'email' field when creating an Abstract user links to a python internal module named 'email' #9487

@zeeblaze

Description

@zeeblaze

When I try creating a Abstract user to customize my
User model, 'email' field always links to internal python module named 'email' which always causes this error

Got AttributeError when attempting to get a value for field `email` on serializer `RegisterSerializer`.
The serializer field might be named incorrectly and not match any attribute or key on the `Response` instance.
Original exception text was: 'Response' object has no attribute 'email'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions