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

Fix deprecated Django API #592

Merged

Conversation

yilmi
Copy link
Contributor

@yilmi yilmi commented Jan 24, 2022

Issue:
The application can be started in it's current state because ugettext_lazy was deprecated. See https://forum.djangoproject.com/t/importerror-cannot-import-name-ugettext-lazy-from-django-utils-translation/10943

Fix:
Replaced deprecated API with supported one

This Fixes #587 (actually, only the use of an API deprecated in Django 4.x)

@yilmi yilmi force-pushed the fix_django_ugettext_lazy_deprecation branch from 0a3d16a to e33274a Compare January 24, 2022 20:31
Copy link
Member

@pombredanne pombredanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you ++
LGTM!

@pombredanne
Copy link
Member

@yilmi we are just missing a DCO signoff

Signed-off-by: Yassine Ilmi <[email protected]>
@yilmi yilmi force-pushed the fix_django_ugettext_lazy_deprecation branch from e33274a to 7fc4731 Compare January 24, 2022 21:33
@yilmi
Copy link
Contributor Author

yilmi commented Jan 24, 2022

@yilmi we are just missing a DCO signoff

Thanks, I missed it, should be fixed now 👍

@yilmi
Copy link
Contributor Author

yilmi commented Jan 24, 2022

Just in case, it seems that you need to approve the workflow again 😅

@pombredanne
Copy link
Member

@yilmi I am not sure that <[email protected]> is a proper email for signoff... is it? :) the idea is to use a real email

@pombredanne
Copy link
Member

Now this is pretty minor change, so I will not bug you more with this!

@pombredanne pombredanne merged commit ed21316 into aboutcode-org:main Jan 24, 2022
@yilmi yilmi deleted the fix_django_ugettext_lazy_deprecation branch January 25, 2022 10:56
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.

Upgrade to Django 4.x
2 participants