From 1c8c5a04960fb7b1a42be3361a425b6a049a4abb Mon Sep 17 00:00:00 2001 From: Jan Haase Date: Wed, 13 Sep 2023 23:23:10 +0200 Subject: [PATCH] minor modification --- backend/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/views.py b/backend/api/views.py index 39ba4d5..4271e04 100644 --- a/backend/api/views.py +++ b/backend/api/views.py @@ -44,7 +44,7 @@ def list(self, request): def create(self, request): serializer = self.serializer_class(data=request.data) if serializer.is_valid(): - # todo: problems with create user? + # todo: problems with create_user?! self.model.objects.create(**serializer.validated_data) return Response(serializer.validated_data, status=status.HTTP_201_CREATED) return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)