-
Notifications
You must be signed in to change notification settings - Fork 5
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
review done #39
base: develop
Are you sure you want to change the base?
review done #39
Conversation
@@ -32,28 +32,29 @@ def myInfo(request): | |||
|
|||
|
|||
def mainSearch(request): | |||
# TODO : arr 변수 이름 명확하게 바꾸기 | |||
arr = ['','','',''] | |||
len = HashTag.objects.count() |
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.
len : 기본적인 파이썬 내장 함수
len()을 사용 못할 수 있음
continue | ||
else: | ||
arr[count]=random_object.name | ||
count += 1; | ||
print(arr) | ||
print(arr) |
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.
return HashTag.objects.orderbyRandom[:4]
req = json.loads(request.body) | ||
title = req['music'] | ||
artist = req['artist'] | ||
|
||
return JsonResponse({'music': title, 'artist': artist}) | ||
|
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.
@login_required
✔ Issue 번호
Closes #
✔ 해결한 내용
✔ 추가된 코드의 기능/파일명 목록
✔ 필요한 후속작업
✔ 참고한 자료
✅ 셀프 체크리스트