Django 4.1 compatibility issue with "ugettext"
mnamegaurav opened this issue · comments
I am getting this error as soon as I try to use FSMTransitionMixin
.
ImportError: cannot import name 'ugettext' from 'django.utils.translation'
Same for me as well
+1
It's cause this code is not in the current pip 1.2.5 version mixins.py
if django.VERSION < (4, 0):
from django.utils.encoding import force_text as force_str
from django.utils.translation import ugettext_lazy as _
else:
from django.utils.encoding import force_str
from django.utils.translation import gettext_lazy as```
When is this coming to PyPI?
when will this be available in pypi?
please publish to pypi
Hello,
Is it possible to publish a new version on PyPI please?
Thanks a lot
If you don't want to wait for PyPI, you can add the latest versions like so
$ pip install git+https://github.com/gadventures/django-fsm-admin@fe59a4b09657e011c20e379d262e49c45ba430e7
update after @ to whichever commit version you want. It'll freeze that to your requirements.txt too.
Would much appreciate a release for this fix, or failing that, a date when it is planned to be released?
It would to be great to have the latest version published into PyPI now that Django 4.2 LTS is released!
It looks like this is fixed by the merge of #92 in october 2022 but i still get the error in august 2023 with a fresh install of Django 4.2 LTS. How do we get the update to PyPI? Can i help?
Please, update the PyPI package