Permalink
Browse files

[2.0.x] Added missing word to render_to_response deprecation warning.

Backport of 35b6a34 from master
  • Loading branch information...
mozz100 authored and timgraham committed May 16, 2018
1 parent 80a5320 commit cffe9a2497888b38c917f00061ea3982423c9e95
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/shortcuts.py
View
@@ -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,
)

0 comments on commit cffe9a2

Please sign in to comment.