Merge pull request #2743 from pydanny/pyup-update-factory-boy-2.12.0-to-3.0.1

This commit is contained in:
Bruno Alla 2020-08-14 13:40:08 +01:00 committed by GitHub
commit 8603fd8d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,7 @@ pre-commit==2.6.0 # https://github.com/pre-commit/pre-commit
# Django # Django
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
factory-boy==2.12.0 # https://github.com/FactoryBoy/factory_boy factory-boy==3.0.1 # https://github.com/FactoryBoy/factory_boy
django-debug-toolbar==2.2 # https://github.com/jazzband/django-debug-toolbar django-debug-toolbar==2.2 # https://github.com/jazzband/django-debug-toolbar
django-extensions==3.0.5 # https://github.com/django-extensions/django-extensions django-extensions==3.0.5 # https://github.com/django-extensions/django-extensions

View File

@ -1,7 +1,8 @@
from typing import Any, Sequence from typing import Any, Sequence
from django.contrib.auth import get_user_model from django.contrib.auth import get_user_model
from factory import DjangoModelFactory, Faker, post_generation from factory import Faker, post_generation
from factory.django import DjangoModelFactory
class UserFactory(DjangoModelFactory): class UserFactory(DjangoModelFactory):