Update team members view to have a trailing newline

pull/1/head
Luca 2 years ago
parent 33d33cfbab
commit b8ae2825da

@ -34,8 +34,8 @@ def my_fallback_shifts(request, team_member_id):
@login_required @login_required
def team_members(request): def team_members(request):
response = HttpResponse( response = HttpResponse(
"\n".join( "".join(
f"{member.name} {member.url()}" f"{member.name} {member.url()}\n"
for member in TeamMember.objects.annotate( for member in TeamMember.objects.annotate(
shift_count=Count("fallback_shifts") shift_count=Count("fallback_shifts")
) )

Loading…
Cancel
Save