From 35b6a348dea6b019679fe35fd443be875bdb028e Mon Sep 17 00:00:00 2001 From: Richard Morrison Date: Wed, 16 May 2018 09:06:36 +0100 Subject: [PATCH] Added missing word to render_to_response deprecation warning. --- django/shortcuts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/shortcuts.py b/django/shortcuts.py index 582aee05e5..7ab1df0e9d 100644 --- a/django/shortcuts.py +++ b/django/shortcuts.py @@ -20,7 +20,7 @@ def render_to_response(template_name, context=None, content_type=None, status=No django.template.loader.render_to_string() with the passed arguments. """ warnings.warn( - 'render_to_response() is deprecated in favor render(). It has the ' + 'render_to_response() is deprecated in favor of render(). It has the ' 'same signature except that it also requires a request.', RemovedInDjango30Warning, stacklevel=2, )