Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
  • Loading branch information
gitworkflows authored Dec 26, 2024
1 parent f881210 commit 6a51a9b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions api_app/connectors_manager/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import logging

from ..views import PythonConfigViewSet, PythonReportActionViewSet
from .models import ConnectorReport
from ..views import PluginConfigViewSet, PythonConfigViewSet, PythonReportActionViewSet
from .models import ConnectorConfig, ConnectorReport
from .serializers import ConnectorConfigSerializer

logger = logging.getLogger(__name__)
Expand All @@ -25,3 +25,7 @@ class ConnectorActionViewSet(PythonReportActionViewSet):
@property
def report_model(cls):
return ConnectorReport


class ConnectorPluginConfigViewSet(PluginConfigViewSet):
queryset = ConnectorConfig.objects.all()

0 comments on commit 6a51a9b

Please sign in to comment.