If you want to call from synchronous code, you need to use the decorator asgiref.sync.async_to_sync. The basic syntax for configuring CHANNEL_LAYER is as ...
確定! 回上一頁