From 877188ba146e177b96cf89dedc6ce22153e7ac7e Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Wed, 10 Apr 2024 11:29:58 +0000 Subject: [PATCH] replace deprecated ugettext by gettext --- geospaas/catalog/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geospaas/catalog/models.py b/geospaas/catalog/models.py index a17f6ae..ac5f745 100644 --- a/geospaas/catalog/models.py +++ b/geospaas/catalog/models.py @@ -6,7 +6,7 @@ from django.core.exceptions import PermissionDenied from django.core.files.storage import FileSystemStorage from django.core.validators import URLValidator -from django.utils.translation import ugettext as _ +from django.utils.translation import gettext as _ from django.core.validators import RegexValidator from geospaas.utils.utils import validate_uri