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

Backport of 35b6a348de from master
This commit is contained in:
Richard Morrison 2018-05-16 09:06:36 +01:00 committed by Tim Graham
parent 80a53202d4
commit cffe9a2497
1 changed files with 1 additions and 1 deletions

View File

@ -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,
)