From b9ffc2306677183b6b1da43116cd982154ecdc1a Mon Sep 17 00:00:00 2001 From: Michael Bai Date: Mon, 13 Sep 2021 15:07:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E4=B8=8D=E8=83=BD=E9=80=9A=E8=BF=87=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=90=8D=E8=BF=87=E6=BB=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/applications/api/account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/applications/api/account.py b/apps/applications/api/account.py index 3193467c3..8b28bcc37 100644 --- a/apps/applications/api/account.py +++ b/apps/applications/api/account.py @@ -12,7 +12,7 @@ from .. import serializers class AccountFilterSet(BaseFilterSet): - username = filters.CharFilter(field_name='username') + username = filters.CharFilter(method='do_nothing') type = filters.CharFilter(field_name='type', lookup_expr='exact') category = filters.CharFilter(field_name='category', lookup_expr='exact') app_display = filters.CharFilter(field_name='app_display', lookup_expr='exact')