Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
logs_view.py 401 B
from rest_framework.viewsets import ReadOnlyModelViewSet
from rest_framework.schemas import SchemaGenerator
from lofar.maintenance.monitoringdb.serializers.log import ActionLogSerializer, ActionLog


class ActionLogViewSet(ReadOnlyModelViewSet):
    """
    Action event log line

    """
    queryset = ActionLog.objects.all()
    serializer_class = ActionLogSerializer
    filter_fields = '__all__'