Skip to content

Fix import for recent Django versions#51

Open
vegaelle wants to merge 1 commit intochrisdev:masterfrom
vegaelle:fix_i18n_import
Open

Fix import for recent Django versions#51
vegaelle wants to merge 1 commit intochrisdev:masterfrom
vegaelle:fix_i18n_import

Conversation

@vegaelle
Copy link

Functions such as ugettext_lazy, used in this project, are deprecated since Django-3.0. This simple fix imports the correct name, while still importing the old one if necessary.

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