django-newsletter icon indicating copy to clipboard operation
django-newsletter copied to clipboard

Django 4.1 support?

Open jdbit opened this issue 3 years ago • 9 comments
trafficstars

Hi, The latest version of django-newsletter doesn't work with Django 4.1. I got this error:

ImportError: cannot import name 'ugettext_lazy' from 'django.utils.translation'

I fixed it by replacing deprecated ugettext_lazy to gettext_lazy, but got another error which I don't know how to fix:

ImportError: Module "compressor.finders" does not define a "CompressorFinder" attribute/class

jdbit avatar Aug 13 '22 18:08 jdbit

Any Update on this ?

geekynasir avatar Oct 27 '22 15:10 geekynasir

@Bashar @jezdez Thank you for your work on this package. Would it be an idea to create a new release on PyPi? That would also close this issue.

gabn88 avatar Nov 09 '22 15:11 gabn88

The workaround for now is to install it directly from GitHub. It seems to works with Django 4.1

If using pipenv:

# Pipfile
django = "~=4.1"
django-newsletter = {git = "https://github.com/jazzband/django-newsletter.git", ref = "master"}
...

MiKatre avatar Oct 08 '23 16:10 MiKatre

Any progress on this?

jonnyhoff avatar Nov 03 '23 08:11 jonnyhoff

When using the Git Repo, everything works but not when installing the PyPi Package.

poetry add git+https://github.com/jazzband/django-newsletter.git

jonnyhoff avatar Nov 03 '23 08:11 jonnyhoff

Throwing it out there that I've just released a package to replace this one called django-mailinglist; it is fully django 4+ compliant!

thismatters avatar Nov 26 '23 01:11 thismatters

Throwing it out there that I've just released a package to replace this one called django-mailinglist; it is fully django 4+ compliant!

Developing a new Django site, going to give this a try. Thanks

wildernessfamily avatar Dec 15 '23 06:12 wildernessfamily

Wow, this error not resolves! Maybe @jazzband-bot need change the responsibility in this project not?

CARocha avatar Apr 29 '24 18:04 CARocha

I created another issue for adding testing and support for Python 3.11 and 3.12 and Django 4 and 5 https://github.com/jazzband/django-newsletter/issues/392 and a PR to remove a deprecation warning in Python 3.12 https://github.com/jazzband/django-newsletter/pull/391

Hope this helps stir the waters and get some attention on this!

newearthmartin avatar Jul 18 '24 17:07 newearthmartin