We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
try: tag = Tag.objects.get(id=tag_id) except Tag.DoesNotExist: post_list = [] else: post_list = tag.post_set.filter(status=Post.STATUS_NORMAL)
这里的tag.post_set是什么作用? post_set是什么语法?
tag.post_set
post_set
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这里的
tag.post_set
是什么作用?post_set
是什么语法?The text was updated successfully, but these errors were encountered: