diff options
| author | Michael Merickel <michael@merickel.org> | 2012-11-13 23:38:50 -0600 |
|---|---|---|
| committer | Michael Merickel <michael@merickel.org> | 2012-11-13 23:38:50 -0600 |
| commit | 23de5bafdc074a01541a2a3dd3fa9e20e5801d57 (patch) | |
| tree | db41f74fe6445acd18e6a74b74171504f7d46858 | |
| parent | f89cfcdd50a8beba17a6d02854f4153961ff478c (diff) | |
| download | pyramid-23de5bafdc074a01541a2a3dd3fa9e20e5801d57.tar.gz pyramid-23de5bafdc074a01541a2a3dd3fa9e20e5801d57.tar.bz2 pyramid-23de5bafdc074a01541a2a3dd3fa9e20e5801d57.zip | |
indicate render_view returns a bytestring (see #725)
| -rw-r--r-- | pyramid/view.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
