AssertionError: Expected a `Response`, `HttpResponse` or `HttpStreamingResponse` to be returned from
摘要:
函数里面return response问题: 1、没有 2、写错 3、位置错 例如: return Response('确认成功') 阅读全文
摘要:
strftime是转换为特定格式输出, strptime是将一个时间字符串解析为时间类型对象。 strftime是按照想要的格式,去转换。重点是格式! strptime不管什么格式,只要把特定的时间字符串转成时间类型即可! 阅读全文