summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Morrison <mozz100@users.noreply.github.com>2018-05-16 09:06:36 +0100
committerTim Graham <timograham@gmail.com>2018-05-16 05:33:38 -0400
commitcffe9a2497888b38c917f00061ea3982423c9e95 (patch)
tree54967646cb977db82311878c9768c107f15e2c85
parent80a53202d416baeba096e8b91a011f163ff31853 (diff)
[2.0.x] Added missing word to render_to_response deprecation warning.
Backport of 35b6a348dea6b019679fe35fd443be875bdb028e from master
-rw-r--r--django/shortcuts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/shortcuts.py b/django/shortcuts.py
index 919abccc45..0ef702aad1 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,
)