Commit c324676c authored by Hamza Dely's avatar Hamza Dely

[activites/views] Renvoie un code HTTP 201 lors de l'ajout d'une activité

parent c59ab62f
......@@ -446,7 +446,7 @@ class ActiviteViewSet(viewsets.GenericViewSet):
return Response({}, status=status.HTTP_400_BAD_REQUEST)
activite =
return Response({"id" :}, status=status.HTTP_200_OK)
return Response({"id" :}, status=status.HTTP_201_CREATED)
def partial_update(self, request, pk=None):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment