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 3.1+ depreciation warning for usage of ugettext() function #83

Closed
dehidehidehi opened this issue Jun 29, 2021 · 6 comments
Closed

Comments

@dehidehidehi
Copy link

Depreciation warning from Django 3.1+:
I suggest replacing all calls to ugettext() with gettext()

admin_honeypot\views.py:38: 
RemovedInDjango40Warning: django.utils.translation.ugettext() is deprecated in favor of django.utils.translation.gettext().
'title': _('Log in'),
@GitRon
Copy link

GitRon commented Sep 23, 2021

Possible duplicate to #66

@DmytroLitvinov
Copy link

I would say even drop support for Django<2.2 and support inly Python 3.6+. I am ready to provide PR with these changes (in code, in docs etc) if @dmpayton is interested and will merge it and will publish new release.

@GitRon
Copy link

GitRon commented Nov 8, 2021

@DmytroLitvinov Good idea but I fear the package is completely abandoned...

@DmytroLitvinov
Copy link

@GitRon , seems like so.
@dmpayton we can try to move it into Jazzband organization if you don't interested in it.

@blag
Copy link

blag commented Nov 26, 2021

Hi, I have forked this project, merged a few PRs (including one that should solve this issue), and released a package to PyPI. You might have better luck with my fork.

@dmpayton
Copy link
Owner

Fixed in develop. Thanks for your patience!

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

5 participants