Django forcing async database operation

后端 未结 0 460
囚心锁ツ
囚心锁ツ 2021-01-31 18:42
raise SynchronousOnlyOperation(message)
    django.core.exceptions.SynchronousOnlyOperation: You cannot call this from an async context - use a thread or sync_to_async.
         


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