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

Improved user registration, update and view profile APIs (resolves #204) #211

Merged
merged 3 commits into from
Dec 2, 2021

Conversation

ege-kaya
Copy link
Collaborator

I have improved the profile view controller to inherit the Django Rest Framework's RetrieveAPIView class, resulting in a better and cleaner implementation. I have also implemented the profile update view, but as of right now it does not check whether the request for the update comes from the correct user. I will now look into the user identification and authorization using the JWT token architecture we set up. I have implemented the user identification and permission-checking part of the profile update API as well.

ege-kaya added 2 commits November 30, 2021 13:47
… view, improved the user model and the serializer, new and improved registration api
@ege-kaya ege-kaya requested review from ibrahimbayat and removed request for KeremZaman November 30, 2021 12:15
Copy link
Collaborator

@ibrahimbayat ibrahimbayat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is good, it can be merged.

@ege-kaya ege-kaya merged commit 8357a10 into development Dec 2, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants