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: Ic1859cd40826dfef7fe392121cb8f3401faaf593
This commit is contained in:
Takashi Kajinami 2022-07-11 13:36:53 +09:00
parent 04ac02b8a8
commit db4a675203
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
import os
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from horizon.utils import secret_key