for i in range(a.id,b.id+1): attributeerror: 'nonetype' object has no attribute 'id'
By Christy Yost at Oct 22 2020