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

ugettext_lazy was removed in Django 4 please add gettext_lazy #14

Open
ydidan opened this issue Aug 9, 2023 · 1 comment
Open

ugettext_lazy was removed in Django 4 please add gettext_lazy #14

ydidan opened this issue Aug 9, 2023 · 1 comment

Comments

@ydidan
Copy link

ydidan commented Aug 9, 2023

from django.utils.translation import gettext_lazy as _

Something like

try:
    from django.utils.translation import ugettext_lazy as _
except ImportError:
    from django.utils.translation import gettext_lazy as _
@quroom
Copy link

quroom commented Aug 14, 2023

Use github repo directly for py package.

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

2 participants