Invalid title for status page causing 500
This commit is contained in:
parent
7f7cce3bb8
commit
a1242cd83f
|
@ -430,7 +430,7 @@ def status_page(request, username, status_id):
|
||||||
return JsonResponse(status.to_activity(), encoder=ActivityEncoder)
|
return JsonResponse(status.to_activity(), encoder=ActivityEncoder)
|
||||||
|
|
||||||
data = {
|
data = {
|
||||||
'title': status.type,
|
'title': 'Status by %s' % user.username,
|
||||||
'status': status,
|
'status': status,
|
||||||
}
|
}
|
||||||
return TemplateResponse(request, 'status.html', data)
|
return TemplateResponse(request, 'status.html', data)
|
||||||
|
|
Loading…
Reference in New Issue