Browse Source

perf: 优化 换行

pull/8634/head
ibuler 2 years ago committed by 老广
parent
commit
2b2aa8f072
  1. 8
      apps/authentication/api/connection_token.py

8
apps/authentication/api/connection_token.py

@ -16,8 +16,8 @@ from orgs.mixins.api import RootOrgViewMixin
from perms.models.base import Action from perms.models.base import Action
from terminal.models import EndpointRule from terminal.models import EndpointRule
from ..serializers import ( from ..serializers import (
ConnectionTokenSerializer, ConnectionTokenSecretSerializer, SuperConnectionTokenSerializer, ConnectionTokenSerializer, ConnectionTokenSecretSerializer,
ConnectionTokenDisplaySerializer, SuperConnectionTokenSerializer, ConnectionTokenDisplaySerializer,
) )
from ..models import ConnectionToken from ..models import ConnectionToken
@ -204,8 +204,8 @@ class ConnectionTokenMixin:
class ConnectionTokenViewSet(ConnectionTokenMixin, RootOrgViewMixin, JMSModelViewSet): class ConnectionTokenViewSet(ConnectionTokenMixin, RootOrgViewMixin, JMSModelViewSet):
filterset_fields = ( filterset_fields = (
'type', 'type', 'user_display', 'system_user_display',
'user_display', 'system_user_display', 'application_display', 'asset_display' 'application_display', 'asset_display'
) )
search_fields = filterset_fields search_fields = filterset_fields
serializer_classes = { serializer_classes = {

Loading…
Cancel
Save