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

Feature/#48 #50

Merged
merged 3 commits into from
Jan 8, 2021
Merged

Feature/#48 #50

merged 3 commits into from
Jan 8, 2021

Conversation

jonghyunchoe
Copy link
Contributor

@jonghyunchoe jonghyunchoe commented Jan 8, 2021

  • Add Image to UserProfile
  • Modified UserProfile model, UserProfileSerializer, UserDetailSerializer, and GetProfileSerializer
  • Images saved to %Y/%m/%d folder
  • Image included in GET /user/me/profile, GET /user/:id/profile, GET /user/me/profile/specific, PUT /user/me/profile/specific APIs

@jonghyunchoe jonghyunchoe changed the title Add Image to User Feature/#48 Jan 8, 2021
@@ -172,6 +178,7 @@ def update(self, userprofile, validated_data):

userprofile.detail = validated_data.get('detail', userprofile.detail)
userprofile.region = validated_data.get('region', userprofile.region)
# userprofile.image = validated_data.get('image', userprofile.image)
Copy link
Contributor

Choose a reason for hiding this comment

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

이거 없어도 PUT이 되나요?

@jonghyunchoe jonghyunchoe merged commit c10e50c into main Jan 8, 2021
@mieseung
Copy link
Contributor

mieseung commented Jan 8, 2021

@jonghyunchoe 종현 아직 model blank=True 반영 안 시킨 PR인거지?

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.

2 participants