From c5f24b2957a2a7569d70930ac5bc630cc5aaac55 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 18 Jan 2010 18:07:12 +0000 Subject: Prep for b1 Merge a bunch of paper-based docs fixes Configure logging during bfgshell. --- repoze/bfg/view.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'repoze/bfg/view.py') diff --git a/repoze/bfg/view.py b/repoze/bfg/view.py index af3acb8b6..bb8972329 100644 --- a/repoze/bfg/view.py +++ b/repoze/bfg/view.py @@ -51,7 +51,7 @@ _marker = object() def render_view_to_response(context, request, name='', secure=True): """ Call the :term:`view callable` configured with a :term:`view - configuration` that matches the the :term:`view name` ``name`` + configuration` that matches the :term:`view name` ``name`` registered against the specified ``context`` and ``request`` and return a :term:`response` object. This function will return ``None`` if a corresponding :term:`view callable` cannot be found @@ -88,7 +88,7 @@ def render_view_to_response(context, request, name='', secure=True): def render_view_to_iterable(context, request, name='', secure=True): """ Call the :term:`view callable` configured with a :term:`view - configuration` that matches the the :term:`view name` ``name`` + configuration` that matches the :term:`view name` ``name`` registered against the specified ``context`` and ``request`` and return an iterable object which represents the body of a response. This function will return ``None`` if a corresponding :term:`view @@ -119,9 +119,9 @@ def render_view_to_iterable(context, request, name='', secure=True): def render_view(context, request, name='', secure=True): """ Call the :term:`view callable` configured with a :term:`view - configuration` that matches the the :term:`view name` ``name`` + configuration` that matches the :term:`view name` ``name`` registered against the specified ``context`` and ``request`` and - and unwind the the view response's ``app_iter`` (see + and unwind the view response's ``app_iter`` (see :ref:`the_response`) into a single string. This function will return ``None`` if a corresponding :term:`view callable` cannot be found (when no :term:`view configuration` matches the combination -- cgit v1.2.3