Skip to content

Commit

Permalink
remove dropout todo
Browse files Browse the repository at this point in the history
  • Loading branch information
fekoch committed Feb 3, 2025
1 parent 4433d36 commit 4cdb741
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion evap/student/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,6 @@ def vote(request: HttpRequest, evaluation_id: int, dropout=False): # noqa: PLR0
evaluation.voters.through.objects.create(userprofile_id=request.user.pk, evaluation_id=evaluation.pk)

if dropout:
# todo: prevent dropout count incrementation from being logged
evaluation.dropout_count += 1
evaluation.save()

Expand Down

0 comments on commit 4cdb741

Please sign in to comment.