Replace remaining usage of ugettext_lazy
It was deprecated since Django 3.0 and is supposed to have been
replaced by cd7c1b5110
.
Change-Id: If79c12df2ea785f143c13da45a04e8eaaf3b99c5
This commit is contained in:
parent
1bb9092abf
commit
961fab691d
@ -10,7 +10,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
|
||||
|
||||
|
@ -10,7 +10,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
|
||||
{% if dashboard %}from {{ dash_path }} import dashboard{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user