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: remove usage of ugettext_lazy from the code #46

Merged
merged 1 commit into from
Mar 27, 2022

Conversation

vinitkumar
Copy link
Member

@vinitkumar vinitkumar commented Mar 11, 2022

Fixes the warning:

/usr/local/lib/python3.9/site-packages/djangocms_attributes_field/fields.py:60: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().

@codecov-commenter
Copy link

codecov-commenter commented Mar 11, 2022

Codecov Report

Merging #46 (f0432fa) into master (ab462c0) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   90.25%   90.19%   -0.07%     
==========================================
  Files           3        3              
  Lines         154      153       -1     
  Branches       29       29              
==========================================
- Hits          139      138       -1     
  Misses         10       10              
  Partials        5        5              
Impacted Files Coverage Δ
djangocms_attributes_field/fields.py 87.06% <100.00%> (-0.12%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab462c0...f0432fa. Read the comment docs.

@marksweb marksweb merged commit 9f343b8 into master Mar 27, 2022
@marksweb marksweb deleted the fix/django-warnings branch March 27, 2022 20:20
@marksweb marksweb restored the fix/django-warnings branch March 27, 2022 20:20
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.

3 participants