mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Added missing word to render_to_response deprecation warning.
This commit is contained in:
parent
49a1736c2e
commit
35b6a348de
@ -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,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user