1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-21 03:58:26 +02:00

Send syntheses

This commit is contained in:
Yohann D'ANELLO
2020-05-05 00:11:38 +02:00
parent 26eacad2fd
commit b55aa6f4f3
12 changed files with 219 additions and 50 deletions

View File

@ -110,7 +110,7 @@ class SynthesisViewSet(ModelViewSet):
queryset = Synthesis.objects.all()
serializer_class = SynthesisSerializer
filter_backends = [DjangoFilterBackend]
filterset_fields = ['team', 'team__trigram', 'dest', 'round', ]
filterset_fields = ['team', 'team__trigram', 'source', 'round', ]
# Routers provide an easy way of automatically determining the URL conf.