update
This commit is contained in:
@@ -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)(
|
||||
|
||||
Reference in New Issue
Block a user