From 23de5bafdc074a01541a2a3dd3fa9e20e5801d57 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Tue, 13 Nov 2012 23:38:50 -0600 Subject: indicate render_view returns a bytestring (see #725) --- pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid/view.py b/pyramid/view.py index dd01d9d20..021d6ff79 100644 --- a/pyramid/view.py +++ b/pyramid/view.py @@ -117,7 +117,7 @@ def render_view(context, request, name='', secure=True): configuration` that matches the :term:`view name` ``name`` registered against the specified ``context`` and ``request`` and unwind the view response's ``app_iter`` (see - :ref:`the_response`) into a single string. This function will + :ref:`the_response`) into a single bytestring. This function will return ``None`` if a corresponding :term:`view callable` cannot be found (when no :term:`view configuration` matches the combination of ``name`` / ``context`` / and ``request``). Additionally, this -- cgit v1.2.3