summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorrafrafek <23004737+rafrafek@users.noreply.github.com>2022-02-12 13:57:25 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-14 06:55:34 +0100
commitcdd4ff67d23b80741047eaf6b180dc67a782dfbd (patch)
treee727b03391b837c2594116c3597127cc0545876a /django
parent5d13cc540e29eedafe695338d8ec9ec500185ccd (diff)
Refs #25684 -- Removed double newline from request/response output of runserver.
Follow up to 0bc5cd628042bf0a44df60a93085a4f991a84dfb.
Diffstat (limited to 'django')
-rw-r--r--django/core/servers/basehttp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/servers/basehttp.py b/django/core/servers/basehttp.py
index 440e7bc9cb..74a42966a6 100644
--- a/django/core/servers/basehttp.py
+++ b/django/core/servers/basehttp.py
@@ -77,7 +77,7 @@ class WSGIServer(simple_server.WSGIServer):
def handle_error(self, request, client_address):
if is_broken_pipe_error():
- logger.info("- Broken pipe from %s\n", client_address)
+ logger.info("- Broken pipe from %s", client_address)
else:
super().handle_error(request, client_address)
@@ -166,7 +166,7 @@ class WSGIRequestHandler(simple_server.WSGIRequestHandler):
extra["status_code"] = 500
logger.error(
"You're accessing the development server over HTTPS, but "
- "it only supports HTTP.\n",
+ "it only supports HTTP.",
extra=extra,
)
return