From 05c280575f5990caab09fdbe1fdeeb0b49c0eda3 Mon Sep 17 00:00:00 2001 From: Basti <12233784+wearebasti@users.noreply.github.com> Date: Tue, 14 Dec 2021 11:58:34 +0100 Subject: [PATCH] replace ugettext with gettext for django4 --- auditlog/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditlog/models.py b/auditlog/models.py index 2622674..827e1a2 100644 --- a/auditlog/models.py +++ b/auditlog/models.py @@ -11,7 +11,7 @@ from django.db import DEFAULT_DB_ALIAS, models from django.db.models import Field, Q, QuerySet from django.utils import formats, timezone from django.utils.encoding import smart_str -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import gettext_lazy as _ from jsonfield.fields import JSONField