summaryrefslogtreecommitdiff
path: root/django/http/request.py
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2014-07-05 20:19:36 +0200
committerTim Graham <timograham@gmail.com>2014-07-05 20:18:52 -0400
commitfff7b507ef2f85bb47abd2ee32982682d7822ac4 (patch)
treeb90b47290222b51d88b0feafb57c27fad5ea645e /django/http/request.py
parente0e8e1e3835fe75019380cfe59c4b0375465b4ce (diff)
Added a space before explanation of "Invalid HTTP_HOST header: ..."
Diffstat (limited to 'django/http/request.py')
-rw-r--r--django/http/request.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/http/request.py b/django/http/request.py
index 175cdd58b5..c87a4c5125 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -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):