Group의 개념 urls의와 비슷한 개념의 routing.py에 이번에는 websocket.connect를 추가합니다.websocket.receive는 소켓에 message가 전달 됬을때 발생하며websocket.connect는 소켓에 소켓이 생성됬을 때 발생합니다. #routing.py channel_routing = [ route('websocket.receive','chat.consumers.ws_echo'), route('websocket.connect', 'chat.consumers.ws_add'), ]그러면 consumers.py에서 ws_add를 만들고 그룹에 있는 사람들이 메시지를 모두 받을 수 있도록 ws_echo를 수정해 보겠습니다. 이전 글에서도 말했듣이 consumers.py는 장..