inventree / inventree-brother-plugin

Label printing plugin for Brother series printers
MIT License
16 stars 12 forks source link

ugettext_lazy was deprecated in Django 3.0 and now removed #33

Closed stoklund closed 5 months ago

stoklund commented 5 months ago

Trying to import this plugin into an InvenTree server running on Django 4.2.10, I see this error:

cannot import name 'ugettext_lazy' from 'django.utils.translation' (/var/lib/inventree/venv/lib/python3.11/site-packages/django/utils/translation/__init__.py)

Apparently, this function was deprecated in Django 3.0, and now it's been removed.

SchrodingersGat commented 5 months ago

@stoklund thanks for reporting - fix incoming in https://github.com/inventree/inventree-brother-plugin/pull/34