Skip to content

fix: replace ugettext_lazy with gettext_lazy for Django 4.X compatibility#7

Open
Kelketek wants to merge 1 commit intomotius:masterfrom
Artconomy:django-4.0
Open

fix: replace ugettext_lazy with gettext_lazy for Django 4.X compatibility#7
Kelketek wants to merge 1 commit intomotius:masterfrom
Artconomy:django-4.0

Conversation

@Kelketek
Copy link

@Kelketek Kelketek commented Jan 4, 2023

This PR adds compatibility for Django 4.X by replacing ugettext_lazy with gettext_lazy. ugettext_lazy has been an alias to gettext_lazy for many, many versions now (apparently since 1.8, according to one source I found, but I haven't hand-verified) so this should not break backwards compatibility for known supported versions according to the README.

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

Successfully merging this pull request may close these issues.

1 participant