add task order data to seed workspace

This commit is contained in:
dandds
2018-09-20 11:42:03 -04:00
parent 9f7284070e
commit 2a67fb6197
2 changed files with 6 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ class TaskOrderFactory(Base):
source = Source.MANUAL
funding_type = FundingType.PROC
funding_type_other = None
number = "toABC123"
number = factory.Faker("md5")
expiration_date = factory.LazyFunction(
lambda: datetime.date(
datetime.date.today().year + random.randrange(1, 15), 1, 1