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
This project doesn't specify a particular pinned range for Django in its setup.py (although it does for testing). This causes a failure unless you pin Django < 4:
% pip install wagtail-treemodeladmin
% pip freeze | grep Django==
Django==4.0.8
% pip freeze | grep wagtail==
wagtail==2.16.3
% wagtail start myproject
% cd myproject
# Edit myproject/settings/base.py to add 'treemodeladmin' to INSTALLED_APPS
% ./manage.py migrate
...
from django.utils.translation import ugettext_lazy as _
ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation'
The text was updated successfully, but these errors were encountered:
This project uses Django's
ugettext_lazy
method in several places.ugettext_lazy
was deprecated in Django 3.0 and removed in Django 4.0.This project doesn't specify a particular pinned range for Django in its setup.py (although it does for testing). This causes a failure unless you pin Django < 4:
The text was updated successfully, but these errors were encountered: