diff options
author | Richard Morrison <mozz100@users.noreply.github.com> | 2018-05-16 09:06:36 +0100 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-05-16 10:06:36 +0200 |
commit | 35b6a348dea6b019679fe35fd443be875bdb028e (patch) | |
tree | f26d814e24eb59f0a32c7d56b5fa1d66f84a1bd7 | |
parent | 49a1736c2eb4a75b4eadc52f6cf9abc92f0f3bdf (diff) | |
download | django-35b6a348dea6b019679fe35fd443be875bdb028e.tar.gz |
Added missing word to render_to_response deprecation warning.
-rw-r--r-- | django/shortcuts.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, ) |