-
Notifications
You must be signed in to change notification settings - Fork 186
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
No longer used libary -ugettext_lazy change to gettext_lazy as _ #87
Comments
Having same issue when deploying to Heroku now.. Django 3.3 involved.. |
Hello, I'm seeing the same issue with Python 3.9/Django 4.0.4: from django.utils.translation import ugettext_lazy as _ |
I am seeing this same issues with Python 3.9/Django4.0 |
I am having the same issue on Django 4.0/Python 3.10. |
@dmpayton apparently updated the source 7 months ago to fix this, but did not draft a new release. I am going to try and pull from latest dev. |
I've changed all ugettext_lazy as _ to gettext_lazy as _ and it working, but I have problem when deploying app on heroku..
from django.utils.translation import ugettext_lazy as _
remote: ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/app/.heroku/python/lib/python3.10/site-packages/django/utils/translation/init.py)
The text was updated successfully, but these errors were encountered: