Loading django/http/request.py +2 −2 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ class HttpRequest(object): if 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): Loading Loading
django/http/request.py +2 −2 Original line number Diff line number Diff line Loading @@ -91,7 +91,7 @@ class HttpRequest(object): if 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): Loading