From 48f9da89a2b2d3608cb614f20ab5111874f43fb2 Mon Sep 17 00:00:00 2001 From: Mohamed-Hacene Date: Fri, 5 Apr 2024 15:46:09 +0200 Subject: [PATCH] upgrade: bump drf from 3.14 to 3.15 --- backend/app_tests/api/test_utils.py | 2 +- backend/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app_tests/api/test_utils.py b/backend/app_tests/api/test_utils.py index 0399e462e..f97aba5d5 100644 --- a/backend/app_tests/api/test_utils.py +++ b/backend/app_tests/api/test_utils.py @@ -724,7 +724,7 @@ def update_object( if not (fails or user_perm_fails): if view_perms[2] == "outside_scope": assert ( - response.json() == {'detail': 'Not found.'} + response.json() == {'detail': f'No {object.__name__} matches the given query.'} ), f"{verbose_name} object detail can be accessed outside the domain" else: for key, value in {**build_params, **test_build_params}.items(): diff --git a/backend/requirements.txt b/backend/requirements.txt index 68cbb23eb..ad3d81b6a 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -8,7 +8,7 @@ django-filter==24.2 whitenoise==6.6.0 argon2-cffi==23.1.0 typing-extensions==4.10.0 -djangorestframework==3.14.0 +djangorestframework==3.15.0 django-stubs==4.2.7 coverage==7.4.4 django-tailwind==3.8.0