Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

error when post to http://127.0.0.1:8000/api/v1/auth/login/ #8

@DaoSYi

Description

@DaoSYi

Django-React-GoogleOauth2-Example/server/auth/apis.py", line 26, in post
user = serializer.object.get('user') or request.user
AttributeError: 'JSONWebTokenSerializer' object has no attribute 'object'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions