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 "site-packages/notifications/models.py", line 3, in
from .base.models import AbstractNotification, notify_handler # noqa
File "site-packages/notifications/base/models.py", line 14, in
from jsonfield.fields import JSONField
File "site-packages/jsonfield/init.py", line 1, in
from .fields import JSONCharField, JSONField # noqa
File "/site-packages/jsonfield/fields.py", line 8, in
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation' (/home/atit/.local/lib/python3.10/site-packages/django/utils/translation/init.py)
Temporary Solution
Use Django version < 4.0
The text was updated successfully, but these errors were encountered:
Django 4.0 Release Note:
django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() will be removed.
Source: Django's Official
Error:
Temporary Solution
Use Django version < 4.0
The text was updated successfully, but these errors were encountered: