diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2013-12-15 23:02:20 +0100 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2013-12-15 23:02:20 +0100 |
| commit | 1689744aee1f13b2f4e270ce63cea143eb6d868e (patch) | |
| tree | 0928a3a55c8dfc6c1a2eb96e42deb8cba5362e0c | |
| parent | cdd6617da679e19059907979b03c4ef7b15691e6 (diff) | |
Added some internal links to render_to_string documentation.
| -rw-r--r-- | docs/ref/templates/api.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 6c22017943..7627c02b6e 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -835,9 +835,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` |
