You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raise ValueError("empty range for _rand_seconds: start datetime must be before than end datetime")
ValueError: empty range for _rand_seconds: start datetime must be before than end datetime
factory-boy-3.3.1, Faker-34.0.2
Here is how the faker is called:
class BaseFactory(factory.django.DjangoModelFactory):
class Meta:
model = Some_Model
date = factory.Faker(
"past_date",
start_date=datetime.datetime(1980, 1, 1, tzinfo=datetime.UTC),
)
The text was updated successfully, but these errors were encountered:
I still get error:
factory-boy-3.3.1, Faker-34.0.2
Here is how the faker is called:
The text was updated successfully, but these errors were encountered: