From b8ae2825dad5639f9501df1d50dd9138732e4b78 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 18 May 2023 13:37:11 +0200 Subject: [PATCH] Update team members view to have a trailing newline --- shiftregister/fallback/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shiftregister/fallback/views.py b/shiftregister/fallback/views.py index 93cb0be..a85d653 100644 --- a/shiftregister/fallback/views.py +++ b/shiftregister/fallback/views.py @@ -34,8 +34,8 @@ def my_fallback_shifts(request, team_member_id): @login_required def team_members(request): response = HttpResponse( - "\n".join( - f"{member.name} {member.url()}" + "".join( + f"{member.name} {member.url()}\n" for member in TeamMember.objects.annotate( shift_count=Count("fallback_shifts") )