user_image
By  月光篱落    On   2019年6月11日 10:37

写到 list_display 不知道怎么回事,报错,models 的 return now - datetime.timedelta(days=1) <= self.pub_date <= now, 错误信息 TypeError: can't compare datetime.datetime to datetime.date