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

Loading…
Cancel
Save