-
Notifications
You must be signed in to change notification settings - Fork 0
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#7.1 Update #19
Conversation
merge 오류가 나서 수정했습니다
ff72dda
to
ca9d21e
Compare
c2560bd
to
2a7abcd
Compare
상규님 수정사항 반영했습니다! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feature 7.1 <- main merge했습니다.
작업하기 전에 pull 부탁드립니다.
wadium/user/views.py
Outdated
|
||
def list(self, request): | ||
username = request.query_params.get('username') | ||
users = self.get_queryset().filter(username__icontains=username) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
users = users.select_related('userprofile').prefetch_related('emails')
등으로 N+1 문제를 완화하면 좋겠습니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일부 수정했습니다 👍
merge 하면 될까요? |
merge 오류가 나서 수정했습니다