From 306cba1bc470cc09d305d6c5ea4f87a467963538 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Fri, 19 Mar 2021 23:15:37 +0100 Subject: [PATCH] Upgrade packages for backend --- containers/backend/api/tests/factories.py | 7 ++++--- containers/backend/requirements.txt | 8 ++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/containers/backend/api/tests/factories.py b/containers/backend/api/tests/factories.py index 530f6af..22fd945 100644 --- a/containers/backend/api/tests/factories.py +++ b/containers/backend/api/tests/factories.py @@ -1,9 +1,10 @@ import factory +from factory.django import DjangoModelFactory from api import models -class UserFactory(factory.DjangoModelFactory): +class UserFactory(DjangoModelFactory): class Meta: model = models.LessPassUser @@ -16,7 +17,7 @@ class AdminFactory(UserFactory): is_admin = True -class PasswordFactory(factory.DjangoModelFactory): +class PasswordFactory(DjangoModelFactory): class Meta: model = models.Password @@ -25,7 +26,7 @@ class PasswordFactory(factory.DjangoModelFactory): site = "lesspass.com" -class EncryptedPasswordProfileFactory(factory.DjangoModelFactory): +class EncryptedPasswordProfileFactory(DjangoModelFactory): class Meta: model = models.EncryptedPasswordProfile diff --git a/containers/backend/requirements.txt b/containers/backend/requirements.txt index 16178e1..67ece06 100644 --- a/containers/backend/requirements.txt +++ b/containers/backend/requirements.txt @@ -1,10 +1,10 @@ -Django==3.1.6 +Django==3.1.7 django-cors-middleware==1.5.0 -djangorestframework==3.11.0 +djangorestframework==3.12.2 djangorestframework-simplejwt==4.6.0 -djoser==2.0.3 +djoser==2.1.0 envparse==0.2.0 gunicorn==20.0.4 psycopg2-binary==2.8.6 # tests -factory-boy==2.12.0 +factory-boy==3.2.0