Skip to content

Commit

Permalink
deactivated error prone and unused code that will be fixed in by #1335
Browse files Browse the repository at this point in the history
  • Loading branch information
jh-RLI committed Aug 3, 2023
1 parent fad49ed commit 4c526af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ def get(self, request, user_id):
reviewer_user=user
)

review_history = peer_review_reviews.exclude(pk=active_peer_review_revewier.pk)
# review_history = peer_review_reviews.exclude(pk=active_peer_review_revewier.pk)

# Context da for the "All reviews" section on the profile page
reviewed_context.update({
"latest": latest_review, # mainly used to check if review exists
"history": review_history,
# "history": review_history,
})


Expand Down

0 comments on commit 4c526af

Please sign in to comment.