Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 4.1 support? #383

Open
jdbit opened this issue Aug 13, 2022 · 8 comments
Open

Django 4.1 support? #383

jdbit opened this issue Aug 13, 2022 · 8 comments

Comments

@jdbit
Copy link

jdbit commented Aug 13, 2022

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

@nasir733
Copy link

Any Update on this ?

@gabn88
Copy link
Contributor

gabn88 commented Nov 9, 2022

@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.

@MiKatre
Copy link

MiKatre commented Oct 8, 2023

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"}
...

@jonnyhoff
Copy link

Any progress on this?

@jonnyhoff
Copy link

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

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

@thismatters
Copy link

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

@wildernessfamily
Copy link

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

@CARocha
Copy link

CARocha commented Apr 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants