mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Upgrade factory-boy to 3.1.0
This commit is contained in:
parent
3b7329519b
commit
9f3117c615
|
@ -37,7 +37,7 @@ pre-commit==2.8.2 # https://github.com/pre-commit/pre-commit
|
|||
|
||||
# Django
|
||||
# ------------------------------------------------------------------------------
|
||||
factory-boy==3.0.1 # https://github.com/FactoryBoy/factory_boy
|
||||
factory-boy==3.1.0 # https://github.com/FactoryBoy/factory_boy
|
||||
|
||||
django-debug-toolbar==3.1.1 # https://github.com/jazzband/django-debug-toolbar
|
||||
django-extensions==3.0.9 # https://github.com/django-extensions/django-extensions
|
||||
|
|
|
@ -23,7 +23,7 @@ class UserFactory(DjangoModelFactory):
|
|||
digits=True,
|
||||
upper_case=True,
|
||||
lower_case=True,
|
||||
).generate(extra_kwargs={})
|
||||
).generate(params={"locale": None})
|
||||
)
|
||||
self.set_password(password)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user