Why my model's __str__ method return a Queryset only when testing?

后端 未结 0 854
别跟我提以往
别跟我提以往 2021-01-17 02:14

I have a simple model that have a __str__ method that returns a string as expected, but when testing the __str__ method it returns a Queryset and t

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