Invalid title for status page causing 500

This commit is contained in:
Mouse Reeve 2020-11-06 15:14:30 -08:00
parent 7f7cce3bb8
commit a1242cd83f

View file

@ -430,7 +430,7 @@ def status_page(request, username, status_id):
return JsonResponse(status.to_activity(), encoder=ActivityEncoder)
data = {
'title': status.type,
'title': 'Status by %s' % user.username,
'status': status,
}
return TemplateResponse(request, 'status.html', data)