Update team members view to have a trailing newline
This commit is contained in:
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…
Reference in New Issue