Skip to content

Commit

Permalink
remove useless print
Browse files Browse the repository at this point in the history
  • Loading branch information
maelys-buhler committed Apr 25, 2024
1 parent 7214d4e commit c8fb4ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/masteriqapp/views/QuestionView.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class QuestionView(viewsets.ViewSet):
def new(self, request, pk):
category = get_object_or_404(self.queryset, pk=pk)
if 'question' in request.session:
print(request.session['question'])
actual_question = self.question_model.objects.get(pk=request.session['question'])
if actual_question is not None and actual_question.category == category:
serializer = QuestionSerializer(actual_question)
Expand Down

0 comments on commit c8fb4ea

Please sign in to comment.