Testing exception handling with Django models

后端 未结 0 1672
陌清茗
陌清茗 2020-12-05 09:09

I have a model named MyModel. I want to get an instance of the model from the database. If it\'s not there, get throws an exception, which

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