Firstly you need your consumer instance to subscribe to a group. from asgiref.sync import async_to_sync class GameConsumer(WebsocketConsumer): def ...
確定! 回上一頁