Stripe in Blender Studio #93018

Merged
Anna Sirota merged 9 commits from studio-to-stripe into main 2024-06-17 17:39:10 +02:00
Showing only changes of commit 981391c447 - Show all commits

View File

@ -15,6 +15,8 @@ class UserFactory(DjangoModelFactory):
class Meta: class Meta:
model = User model = User
id = factory.Sequence(lambda n: 1000 + n)
first_name = factory.Faker('first_name') first_name = factory.Faker('first_name')
last_name = factory.Faker('last_name') last_name = factory.Faker('last_name')
username = factory.LazyAttribute(lambda o: f'{o.first_name}_{o.last_name}') username = factory.LazyAttribute(lambda o: f'{o.first_name}_{o.last_name}')