From d9fe6e07da18ef1169244ce1ed1ee4bf13490aa8 Mon Sep 17 00:00:00 2001 From: VincentFu Date: Wed, 16 Aug 2023 07:01:09 +0000 Subject: [PATCH] =?UTF-8?q?update=20applications/common/utils/validate.py.?= =?UTF-8?q?=20truthy=20=3D=20validators.truthy=20=E5=A6=82=E6=9E=9C?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=87=BA=E7=8E=B0AttributeError:=20module=20?= =?UTF-8?q?'validators'=20has=20no=20attribute=20'truthy'=20=E5=B0=B1?= =?UTF-8?q?=E6=8A=8A=E8=BF=99=E4=B8=AA=E4=B8=8D=E5=88=86=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=E6=8E=89=E3=80=82=E8=BF=99=E4=B8=AA=E5=8E=9F=E5=9B=A0=E6=98=AF?= =?UTF-8?q?=E5=9B=A0=E4=B8=BAvalidators=E5=BA=93=E5=AF=B9python=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E7=9A=84=E6=94=AF=E6=8C=81=E6=9C=89=E9=99=90=EF=BC=8C?= =?UTF-8?q?=E6=9C=89=E4=BA=9Bpython=E7=89=88=E6=9C=AC=E5=9C=A8=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E6=97=B6=E5=80=99=E4=BC=9A=E6=8A=A5=E4=B8=8A?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E9=94=99=EF=BC=8C=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E5=B0=B1=E5=8F=AF=E4=BB=A5=E6=AD=A3=E5=B8=B8=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E4=BA=86=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: VincentFu --- applications/common/utils/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/common/utils/validate.py b/applications/common/utils/validate.py index db11cf0..2ce026e 100644 --- a/applications/common/utils/validate.py +++ b/applications/common/utils/validate.py @@ -131,7 +131,7 @@ slug = validators.slug True ''' -truthy = validators.truthy +#truthy = validators.truthy ''' 验证给定值不是错误值。 ''' -- Gitee