put back the fixtures command

This commit is contained in:
asaki222 2024-12-31 13:55:18 -05:00
parent c4b6037e8e
commit c145ecbfa2
No known key found for this signature in database
GPG key ID: C51913A3A09FDC03

View file

@ -44,7 +44,7 @@ class DomainFixture(DomainRequestFixture):
cls._approve_domain_requests(users)
@staticmethod
def _generate_fake_expiration_date(days_in_future=40):
def _generate_fake_expiration_date(days_in_future=365):
"""Generates a fake expiration date between 1 and 365 days in the future."""
current_date = timezone.now().date() # nosec
return current_date + timedelta(days=random.randint(1, days_in_future)) # nosec