til

django获取域名

request.META[‘HTTP_HOST’]