mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-04 20:54:47 +02:00
password_validation.py: fix deprecated ugettext
Use django.utils.translation.gettext instead Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
7989e61fae
commit
7dcdd0e2a1
|
@ -1,7 +1,7 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
from django.core.exceptions import ValidationError
|
||||
from django.utils.translation import ugettext as _
|
||||
from django.utils.translation import gettext as _
|
||||
|
||||
import re
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user