Skip to content

Commit

Permalink
Porządek w kontekście przekazywanym dla widoku wszystkich prac dypl. (#…
Browse files Browse the repository at this point in the history
…1636)

Usuwamy jedną niepotrzebną zabłąkaną wartość.
  • Loading branch information
adiwili authored Feb 13, 2024
1 parent eab3c30 commit a9a9df3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions zapisy/apps/theses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def list_all(request):
"""Display list of all visible theses."""
visible_theses = Thesis.objects.visible(request.user).select_related(
'advisor', 'advisor__user').prefetch_related('students', 'students__user')
board_member = is_theses_board_member(request.user)

theses_list = []
for p in visible_theses:
Expand Down Expand Up @@ -54,7 +53,6 @@ def list_all(request):

return render(request, 'theses/list_all.html', {
'theses_list': theses_list,
'board_member': board_member,
})


Expand Down

0 comments on commit a9a9df3

Please sign in to comment.