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/#37 #50

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Feature/#37 #50

wants to merge 3 commits into from

Conversation

symoon9
Copy link
Contributor

@symoon9 symoon9 commented Jan 8, 2021

태그 기능을 일단 만들어두었습니다.

@symoon9 symoon9 self-assigned this Jan 8, 2021
if request.method == 'POST':
tag_name = request.data.get('tag_name')
if tag_name is None or '':
Copy link
Collaborator

Choose a reason for hiding this comment

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

이 구문은 (tag_name is None) or '' 으로 tag_name이 None인 경우에 통과되고, 이외의 경우에는 if ''의 의미가 되어 blank를 구별할 수 없습니다.

@gyusang gyusang linked an issue Jan 8, 2021 that may be closed by this pull request
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.

Add Tag
2 participants