class parts_direct_stpc(models.Model):
title = models.CharField('Название', max_length=50)
now = datetime.now().date()
data = []
for i in range(2000):
data.append(None)
for i in range(2000):
data[i] = models.CharField(str(now + timedelta(i)), max_length=20)
def __str__(self):
return self.title