int() argument must be a string, a bytes-like object or a number, not 'DeferredAttribute'
还得需要报错的代码片段