-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat(word): creag tags filed #362
Conversation
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.
增删改查
删没影响
查已经有修改
增和改里面,对tag的处理似乎没有到位?
@@ -13,4 +13,5 @@ | |||
path("/upload_standard", upload_standard), # WD0302POST | |||
path("/phonetic_ordering", csrf_exempt(PhoneticOrdering.as_view())), # WD0501 | |||
path("/dictionary", csrf_exempt(DictionarySearch.as_view())), # WD0502 | |||
path("/search", csrf_exempt(searchWordsByTags)), |
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.
我以为直接用原本那个 /words 然后加一个选项就vans了?
except Exception as e: | ||
return JsonResponse({"msg": str(e)}, status=500) |
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.
不要写这种形式的try except,有中间件自动捕获这些异常
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.
等一下,application里也应该同步增加tags吧?
我看一下) |
close #348