-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ugettext_lazy has been removed in Django 4.0 #345
Comments
same Error trace
references
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: [django.utils.translation.gettext()] (https://docs.djangoproject.com/en/3.0/ref/utils/#django.utils.translation.gettext), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). https://docs.djangoproject.com/en/3.0/internals/deprecation/ |
Hello Guys,
When I use Django 4.1.4 this error is raised:
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (...\venv\Lib\sitepackages\django\utils\translation\__init__.py)
Can you help me?
The text was updated successfully, but these errors were encountered: