Skip to content
Snippets Groups Projects
Commit 36f9373c authored by florimondmanca's avatar florimondmanca
Browse files

quick update

parent 0fcd23c0
No related branches found
No related tags found
No related merge requests found
......@@ -209,9 +209,7 @@ class ParticipationsViewSet(mixins.CreateModelMixin,
participation, data=request.data)
serializer.is_valid(raise_exception=True)
serializer.save()
return Response(
serializer.data,
status=status.HTTP_201_CREATED)
return Response(serializer.data, status=status.HTTP_201_CREATED)
class PlaceViewSet(viewsets.ReadOnlyModelViewSet):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment