﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32580	Document that HttpRequest.get_host() can raise DisallowedHost	Chris Jerdonek	SREEHARI K.V	"The Django docs currently don't mention that `HttpRequest.get_host()` can raise `DisallowedHost`:

docs: https://docs.djangoproject.com/en/3.1/ref/request-response/#django.http.HttpRequest.get_host

code: https://github.com/django/django/blob/41e6b2a3c5e723256506b9ff49437d52a1f3bf43/django/http/request.py#L130-L135

I think it would be helpful to mention that so people using the method can know to think about whether they need to handle that case.
"	Cleanup/optimization	closed	Documentation	3.1	Normal	fixed	HttpRequest		Ready for checkin	1	0	0	0	0	0
