How to use try and except to validate the NoneType error?

后端 未结 0 809
伪装坚强ぢ
伪装坚强ぢ 2021-02-15 17:34

So i want to redirect to home page if there is a None error. But, when i use try and except, i get this error : TypeError: catching classes that do not inheri

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