TypeError: unsupported operand type(s) for +=: 'datetime.timedelta' and 'NoneType'

前端 未结 0 1025
渐次进展
渐次进展 2020-12-30 11:42
@property
def total_duration_of_videos(self):
    videos_qs = self.videos.all()
    total_duration = datetime.timedelta(0,0,0)
    for video in videos_qs:
        to         


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