2
0
Fork 0

Update team members view to have a trailing newline

This commit is contained in:
Luca 2023-05-18 13:37:11 +02:00
parent 33d33cfbab
commit b8ae2825da
1 changed files with 2 additions and 2 deletions

View File

@ -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")
) )