Django raising SynchronousOnlyOperation exception from Django Channels Async websocket consumer

后端 未结 0 696
广开言路
广开言路 2021-02-20 09:26

Currently, I have an asynchronous consumer like this:

class AsyncDashConsumer(AsyncJsonWebsocketConsumer):

    async def connect(self):
        await self.accept         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题