Skip to content

Commit

Permalink
chore: remove print line on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
idabblewith committed Jan 15, 2024
1 parent a465bd3 commit 35e7547
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get(self, req):
)

def post(self, req):
print(req.data)
# print(req.data)
# text = req.data['text']
# kind = req.data['kind']
# status = req.data['status']
Expand All @@ -88,14 +88,14 @@ def post(self, req):
data=req.data,
)
if ser.is_valid():
print("feedback ser valid")
# print("feedback ser valid")
feedback = ser.save()
return Response(
UserFeedbackSerializer(feedback).data,
status=HTTP_201_CREATED,
)
else:
print("feedback ser NOT VALID", ser.errors)
# print("feedback ser NOT VALID", ser.errors)
return Response(
ser.errors,
HTTP_400_BAD_REQUEST,
Expand Down

0 comments on commit 35e7547

Please sign in to comment.