Skip to content

Commit 7564544

Browse files
committed
perf: 优化代码
1 parent e0507f0 commit 7564544

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ psycopg2-binary==2.9.10
77
django-redis==5.4.0
88
pycryptodomex==3.22.0
99
djangorestframework-simplejwt==5.5.0
10-
celery==5.5.0
10+
celery==5.5.1
1111
django-celery-beat==2.7.0
1212
django-celery-results==2.5.1
1313
flower==2.0.1

system/views/admin/online.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class UserOnlineFilter(BaseFilterSet):
1818

1919
class Meta:
2020
model = UserLoginLog
21-
fields = ['creator_id', 'channel_name']
21+
fields = ['creator_id']
2222

2323

2424
class UserOnlineViewSet(ListDeleteModelSet, OnlyExportDataAction):

0 commit comments

Comments
 (0)