def host_meta_view(request):
"""Generate a `.well-known/host-meta` document"""
host_meta = generate_host_meta("diaspora", webfinger_host=settings.SOCIALHOME_URL)
return HttpResponse(host_meta, content_type="application/xrd+xml")
评论列表
文章目录