This commit is contained in:
aqu415
2022-03-05 19:24:59 +08:00
parent b1dd73b9a7
commit fe9034f8a1
2 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class ChatConsumer(WebsocketConsumer):
def connect(self):
self.room_group_name = 'chat%s' % bytes.decode(self.scope['query_string'])
print(self.room_group_name)
# print(self.room_group_name)
# Join room group
async_to_sync(self.channel_layer.group_add)(