Update django.utils.translation functions

Bug #1956220 reported by Victoria Martinez de la Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Medium
Victoria Martinez de la Cruz

Bug Description

django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy()

This has been deprecated in Django 3.0 [0]

[0] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3

Changed in manila-ui:
assignee: nobody → Victoria Martinez de la Cruz (vkmc)
status: New → Confirmed
milestone: none → yoga-3
milestone: yoga-3 → yoga-2
summary: - Update to gettext_lazy
+ Update django.utils.translation functions
Changed in manila-ui:
milestone: yoga-2 → yoga-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/manila-ui/+/835882

Changed in manila-ui:
status: Confirmed → In Progress
Changed in manila-ui:
milestone: yoga-3 → zed-1
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/c/openstack/manila-ui/+/835882
Committed: https://opendev.org/openstack/manila-ui/commit/151a023adb4bb68c3a0571df744c03727e67ddca
Submitter: "Zuul (22348)"
Branch: master

commit 151a023adb4bb68c3a0571df744c03727e67ddca
Author: Victoria Martinez de la Cruz <email address hidden>
Date: Wed Mar 30 13:31:35 2022 +0000

    Use gettext_lazy/ngettext_lazy instead of ugettext_lazy/ungettext_lazy

    In Django 3.0 ugettext_lazy/ungettext_lazy have been deprecated in favor of
    gettext_lazy/ngettext_lazy [0].

    We are now using Django 3.2, so we should update our code
    with the gettext_lazy/ngettext_lazy aliases.

    [0] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3

    Closes-Bug: #1956220
    Change-Id: I488c2230b4ea4e7803522c3b99773cffe76f49bd

Changed in manila-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 8.0.0.0rc1

This issue was fixed in the openstack/manila-ui 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.