fix pinglun bug

This commit is contained in:
2024-06-29 16:22:31 +08:00
parent d8e6109b58
commit 8de92b8b27
+1 -1
View File
@@ -197,7 +197,7 @@ def to_qunti(request):
print(stu.username)
chat_info = Chat_info.objects.filter(user_chat_name=stu.username).values('chat_content')
id = MindUser.objects.get(username=stu.username).id
pinglun_info = Comment.objects.filter(pinglun_id=id).values('comment_content')
pinglun_info = Comment.objects.filter(user_id=id).values('comment_content')
print("-----------------------------------------------")
print(len(chat_info))
sui2.append(len(chat_info))