For a class-based view, this means making its __call__() method an async def (not its __init__() or as_view() ). Note. Django uses asyncio.iscoroutinefunction ...
確定! 回上一頁