Replace deprecated ugettext_lazy

The ugettext_lazy method has been deprecated since Django 3.0[1].

This was already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
[2] cd7c1b5110fe1f64cd9dfbeb1072b37912d0efee

Change-Id: I4ba3ab420cbe508ff4c2014092ef08374d58988b
This commit is contained in:
Takashi Kajinami 2022-07-10 23:45:30 +09:00 committed by Michael Johnson
parent a64fa32dc3
commit 1790a190a6
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
import horizon