From ace31357355f0437c19b86fc0472dc37c1cc3e2d Mon Sep 17 00:00:00 2001 From: pclumson1 <37989010+pclumson1@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:15:53 -0800 Subject: [PATCH] Update apps.py from django.utils.translation import ugettext_lazy as _ # This line deprecated and not compatible with django4 and python 3.10 I have proposed the current compatible import from the django documentation. --- pinax/notifications/apps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pinax/notifications/apps.py b/pinax/notifications/apps.py index ea8b6ae0..5e57cb8a 100644 --- a/pinax/notifications/apps.py +++ b/pinax/notifications/apps.py @@ -1,5 +1,6 @@ from django.apps import AppConfig as BaseAppConfig -from django.utils.translation import ugettext_lazy as _ +# from django.utils.translation import ugettext_lazy as _ # This line deprecated +from django.utils.translation import gettext_lazy as _ class AppConfig(BaseAppConfig):