内容:comment_list = list() subcomment_list = list() blog_objs = blog.objects.filter(id=id) for blog_obj in blog_objs: comment_objs = Comment.objects.filter(forignkey_name=blog_obj) comment_list.extend(list(comment_objs)) for comment_obj in comment_objs: subcomment_objs = SubComment.objects.filter(forignkey_name=comment_obj) subcomment_list.extend(list(subcomment_objs)) # comment_list和subcomment_list就是你想要的结果了
内容:大兄弟,源码和依赖包都给出来大家才能帮你找问题。不然的话环境不一样不一定能重现bug
内容:使用natapp做内网穿透。
内容:comment_list = list() subcomment_list = list() blog_objs = blog.objects.filter(id=id) for blog_obj in blog_objs: comment_objs = Comment.objects.filter(forignkey_name=blog_obj) comment_list.extend(list(comment_objs)) for comment_obj in comment_objs: subcomment_objs = SubComment.objects.filter(forignkey_name=comment_obj) subcomment_list.extend(list(subcomment_objs)) # comment_list和subcomment_list就是你想要的结果了
内容:大兄弟,源码和依赖包都给出来大家才能帮你找问题。不然的话环境不一样不一定能重现bug
内容:使用natapp做内网穿透。