-
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
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation #94
Comments
For now, use this workaround. Hoping this gets resolved too, as it breaks new projects and deployments and needs customizing CI pipelines |
I also facing this error.😟 |
from django.utils.translation import gettext_lazy as _ I think a rewrite is needed for newer versions of Django |
Its the end of August and this is still a present issue. I was really hoping to add this package to my django 4 project. |
I was able to find an updated version, use 'pip install django-admin-honeypot-updated-2021' instead for django 4 projects |
You can manually update the existing lines by from django.utils.translation import gettext_lazy as _ there will be one more error of honeypot = Signal(providing_args=['instance', 'request'])
TypeError: Signal.__init__() got an unexpected keyword argument 'providing_args' just remove the |
Has this repository been abandoned? It's been two years since this issue was originally reported. |
ugettext_lazy its depricated in django 3 + please update the latest release that support django 4+
The text was updated successfully, but these errors were encountered: