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
|
@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…
Reference in New Issue