summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Vidal <alex.vidal@gmail.com>2015-02-18 15:52:16 -0600
committerTim Graham <timograham@gmail.com>2015-02-19 19:37:22 -0500
commit82f39bfb1ac9a4e9c67cb26259bc689947f4c6d0 (patch)
tree8b9c3dd7b126332307dc397e658a30b09ba551e3
parentcc4effba0bf07fbcb4dcc0074af969e698b6cc75 (diff)
[1.8.x] Fixed typo in django.core.servers.basehttp message.
Backport of e467919c6315be87abec72383ec1a81e2665ebec from master
-rw-r--r--django/core/servers/basehttp.py2
-rw-r--r--tests/servers/test_basehttp.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/servers/basehttp.py b/django/core/servers/basehttp.py
index 38acc987ed..c663fd968d 100644
--- a/django/core/servers/basehttp.py
+++ b/django/core/servers/basehttp.py
@@ -129,7 +129,7 @@ class WSGIRequestHandler(simple_server.WSGIRequestHandler, object):
elif args[1][0] == '4':
# 0x16 = Handshake, 0x03 = SSL 3.0 or TLS 1.x
if args[0].startswith(str('\x16\x03')):
- msg = ("You're accessing the developement server over HTTPS, "
+ msg = ("You're accessing the development server over HTTPS, "
"but it only supports HTTP.\n")
msg = self.style.HTTP_BAD_REQUEST(msg)
else:
diff --git a/tests/servers/test_basehttp.py b/tests/servers/test_basehttp.py
index 7352adf287..2f59b1358a 100644
--- a/tests/servers/test_basehttp.py
+++ b/tests/servers/test_basehttp.py
@@ -21,7 +21,7 @@ class WSGIRequestHandlerTestCase(TestCase):
with captured_stderr() as stderr:
handler.log_message("GET %s %s", str('\x16\x03'), "4")
self.assertIn(
- "You're accessing the developement server over HTTPS, "
+ "You're accessing the development server over HTTPS, "
"but it only supports HTTP.",
stderr.getvalue()
)