mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-09-20 10:52:34 +03:00
CC Upgrade 20250617
This commit is contained in:
parent
ca7deb4c95
commit
1258e53822
|
@ -14,7 +14,8 @@ class UserFactory(DjangoModelFactory[User]):
|
|||
username = Faker("user_name")
|
||||
{%- endif %}
|
||||
email = Faker("email")
|
||||
name = Faker("name")
|
||||
first_name = Faker("first_name")
|
||||
last_name = Faker("last_name")
|
||||
|
||||
@post_generation
|
||||
def password(self, create: bool, extracted: Sequence[Any], **kwargs): # noqa: FBT001
|
||||
|
|
Loading…
Reference in New Issue
Block a user