mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-25 00:34:18 +03:00
Update factory-boy's .generate to evaluate
Co-Authored-By: Timo Halbesma <timo@halbesma.com>
This commit is contained in:
parent
c077028310
commit
b7c95f6eed
|
@ -23,7 +23,7 @@ class UserFactory(DjangoModelFactory):
|
|||
digits=True,
|
||||
upper_case=True,
|
||||
lower_case=True,
|
||||
).generate(params={"locale": None})
|
||||
).evaluate(None, None, extra={"locale": None})
|
||||
)
|
||||
self.set_password(password)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user