From 8119b679eb85cdc0ae3d321e54d06dd0200a1e82 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 16 Sep 2016 12:15:00 -0400 Subject: Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6. http://bugs.python.org/issue27364 --- django/views/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/views/debug.py') diff --git a/django/views/debug.py b/django/views/debug.py index a92f487bb1..f7c685893c 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -537,7 +537,7 @@ TECHNICAL_500_TEMPLATE = (""" {% if exception_type %}{{ exception_type }}{% else %}Report{% endif %}""" -"""{% if request %} at {{ request.path_info|escape }}{% endif %} +r"""{% if request %} at {{ request.path_info|escape }}{% endif %}