Skip to content

Commit

Permalink
Fixup. Format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 31, 2024
1 parent eaa2941 commit 5488d5c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions pod/completion/rest_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,31 @@ class Meta:
class ContributorViewSet(viewsets.ModelViewSet):
queryset = Contributor.objects.all()
serializer_class = ContributorSerializer
filterset_fields = ['video', 'role',]
filterset_fields = [
"video",
"role",
]


class DocumentViewSet(viewsets.ModelViewSet):
queryset = Document.objects.all()
serializer_class = DocumentSerializer
filterset_fields = ['video',]
filterset_fields = [
"video",
]


class TrackViewSet(viewsets.ModelViewSet):
queryset = Track.objects.all()
serializer_class = TrackSerializer
filterset_fields = ['video',]
filterset_fields = [
"video",
]


class OverlayViewSet(viewsets.ModelViewSet):
queryset = Overlay.objects.all()
serializer_class = OverlaySerializer
filterset_fields = ['video',]
filterset_fields = [
"video",
]

0 comments on commit 5488d5c

Please sign in to comment.