panosl / django-currencies

django-currencies allows you to define different currencies, and includes template tags/filters to allow easy conversion between them.
http://pypi.python.org/pypi/django-currencies
BSD 3-Clause "New" or "Revised" License
94 stars 81 forks source link

Not Compatible with Django 4 #90

Open SaadatAliKlasra opened 1 year ago

SaadatAliKlasra commented 1 year ago

You recently added Django 4 support but it looks like not working on my end. I'm getting the following error after installations. cannot import name 'ugettext_lazy' from 'django.utils.translation'

The error is from jsonfield package that django-currencies require. The solution for this problem can be to upgrade the jsonfield because a newer version is available!

panosl commented 1 year ago

django-jsonfield is no longer used, we've switched to the vanilla field. Which version are you using?

panosl commented 1 year ago

Make sure you use the latest version, I just pushed a couple of updates to the repo. Once it's validated I'll push a new version to PyPI.