From 7e6016b2bb9732b6b2432ec9329213a1d0c9c9a5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 13 Jun 2025 18:08:00 +0200 Subject: ♻️ django 3.2 deprecation: url -> re_path ; ugettext_lazy -> gettext_lazy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archaeological_operations/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/tests.py') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 6602739d5..425a762f7 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -42,7 +42,7 @@ from django.utils.text import slugify from django.utils.translation import activate from django.contrib.auth.models import User, Permission -from django.utils.translation import ugettext_lazy as _, pgettext, pgettext_lazy +from django.utils.translation import gettext_lazy as _, pgettext, pgettext_lazy from rest_framework.test import APITestCase from rest_framework.authtoken.models import Token -- cgit v1.2.3