Django 4
[fnpdjango.git] / fnpdjango / utils / settings.py
index 83b0302..b6df2b3 100644 (file)
@@ -17,8 +17,8 @@ class LazyUGettextLazy(Promise):
 
     def __str__(self):
         if not self.real:
-            from django.utils.translation import ugettext_lazy
-            LazyUGettextLazy._ = staticmethod(ugettext_lazy)
+            from django.utils.translation import gettext_lazy
+            LazyUGettextLazy._ = staticmethod(gettext_lazy)
             LazyUGettextLazy.real = True
         return str(self._(self.text))