Kaydet (Commit) fff7b507 authored tarafından Daniel Hahler's avatar Daniel Hahler Kaydeden (comit) Tim Graham

Added a space before explanation of "Invalid HTTP_HOST header: ..."

üst e0e8e1e3
......@@ -89,9 +89,9 @@ class HttpRequest(object):
else:
msg = "Invalid HTTP_HOST header: %r." % host
if domain:
msg += "You may need to add %r to ALLOWED_HOSTS." % domain
msg += " You may need to add %r to ALLOWED_HOSTS." % domain
else:
msg += "The domain name provided is not valid according to RFC 1034/1035"
msg += " The domain name provided is not valid according to RFC 1034/1035."
raise DisallowedHost(msg)
def get_full_path(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment