From acdde5a236db1bfdb84268a1871b572ef4849974 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Thu, 27 Jan 2022 15:06:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=86=E9=92=A5=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/serializers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/serializers/base.py b/apps/assets/serializers/base.py index 2cc2d49a5..2f3486d01 100644 --- a/apps/assets/serializers/base.py +++ b/apps/assets/serializers/base.py @@ -2,7 +2,7 @@ # from io import StringIO -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ from rest_framework import serializers from common.utils import ssh_pubkey_gen, ssh_private_key_gen, validate_ssh_private_key