Permalink
Browse files

Added missing word to render_to_response deprecation warning.

  • Loading branch information...
mozz100 authored and carltongibson committed May 16, 2018
1 parent 49a1736 commit 35b6a348dea6b019679fe35fd443be875bdb028e
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 35b6a34

Please sign in to comment.