Skip to content

Is the login function incomplete? #4

@Ru7z

Description

@Ru7z

Hi, i am an audience from Youtube.When i was learning this course, i found some questions.

  • Blog-API-with-Django-Rest-Framework/src/accounts/api/views.py function:post
    I think it's needed check_password here.
  • How can i sign out if it's needed.
    So i think the login function is not complete.Is it necessary to update self.request.user.So the user logged in can log out.

Thanks for the courses, i learned a lot from it.
Waiting for your replay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions