You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/www/test/htdocs/pm2/example/demo/apps.py", line 2, in <module>
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/usr/lib/python3.9/site-packages/django/utils/translation/__init__.py)
Reason: ugettext_lazy is deprecated in newer django versions.
Apparently can be fixed by using gettext_lazy but haven't tried.
Reason:
ugettext_lazy
is deprecated in newer django versions.Apparently can be fixed by using
gettext_lazy
but haven't tried.See also:
The text was updated successfully, but these errors were encountered: