1
0
mirror of https://github.com/django/django.git synced 2025-04-15 21:04:36 +00:00

[1.6.x] Added some internal links to render_to_string documentation.

Backport of 1689744aee1f13b2f4e270ce63cea143eb6d868e from master.
This commit is contained in:
Baptiste Mispelon 2013-12-15 23:02:20 +01:00
parent 6a36b71fc2
commit e888760854

View File

@ -766,9 +766,9 @@ dictionary
positional argument.
context_instance
An instance of ``Context`` or a subclass (e.g., an instance of
``RequestContext``) to use as the template's context. This can
also be passed as the third positional argument.
An instance of :class:`~django.template.Context` or a subclass (e.g., an
instance of :class:`~django.template.RequestContext`) to use as the
template's context. This can also be passed as the third positional argument.
See also the :func:`~django.shortcuts.render_to_response()` shortcut, which
calls ``render_to_string`` and feeds the result into an :class:`~django.http.HttpResponse`