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

Support for Django4.0

Open ngkabra opened this issue 4 years ago • 6 comments

ugettext_lazy (used on line 7 of recaptcha3/fields.py) is deprecated since Django3.0 and removed in Django4.0. So django-recaptcha3 is unusable after upgrading to Django4.0

The only change required to fix this is replacing ugettext_lazy with gettext_lazy in that one place.

ngkabra avatar Dec 09 '21 10:12 ngkabra

This is now fixed, thank you. Can you please update the version on PyPI too?

ngkabra avatar Feb 10 '22 13:02 ngkabra

This is now fixed, thank you. Can you please update the version on PyPI too?

+1 please!

urlsangel avatar Oct 21 '22 14:10 urlsangel

Hi, @kbytesys ! Please, update the version on PyPi, as written above) Your package is really useful )

jewelvadim avatar May 28 '23 04:05 jewelvadim

Can we get this fixed?

pawisoon avatar Jul 26 '23 08:07 pawisoon

@kbytesys

Any chance of releasing this latest version to PyPi?

urlsangel avatar Aug 28 '23 08:08 urlsangel

Just for your information, even if the package were pushed to Pypi, if I am not wrong the change won't work. At least for Django 4.2.28. I needed to implement the following small fix (added lines are coming from previous state in this same repo) to make it work: https://github.com/bartsanchez/django-recaptcha3/commit/313509e40163ce381e7aa3decd1de1ed9f71d380

bartsanchez avatar Dec 09 '23 15:12 bartsanchez