摘要: 后台代码: settings中代码: MIDDLEWARE_CLASSES=['dwebsocket.middleware.WebSocketMiddleware']WEBSOCKET_ACCEPT_ALL=True # 可以允许每一个单独的视图实用websockets url::: url(r'^ 阅读全文
posted @ 2020-06-23 18:04 xiaochuchun 阅读(416) 评论(0) 推荐(0) 编辑