Address RemovedInDjango40Warning
django.utils.translation.ugettext_lazy() is deprecated in favor of the functions that they’re aliases for: django.utils.translationgettext_lazy() https: //docs.djangoproject.com/en/4.0/releases/3.0/#id3 Change-Id: I9b77b33fbc4a9560c72504f935bf7f9082fefdd7
This commit is contained in:
parent
d4ef66fc02
commit
9ec01ee09a
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from horizon.utils import secret_key
|
||||
|
||||
|
|
Loading…
Reference in New Issue