Django Try/Except CBVs dealing with query returning None?

前端 未结 0 645
我寻月下人不归
我寻月下人不归 2021-01-05 02:27

I am trying to include some exception handling to handle queries that return None, If none is returned I just want to display a simple JsonResponse

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