diff options
Diffstat (limited to 'docs/narr/firstapp.rst')
| -rw-r--r-- | docs/narr/firstapp.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/firstapp.rst b/docs/narr/firstapp.rst index 822e3cb32..ea7134a3e 100644 --- a/docs/narr/firstapp.rst +++ b/docs/narr/firstapp.rst @@ -122,7 +122,7 @@ A view callable is required to return a :term:`response` object because a response object has all the information necessary to formulate an actual HTTP response; this object is then converted to text by the upstream :term:`WSGI` server and sent back to the requesting browser. To return a response, each -view callable creates an instance of the :class:`pyramid.response.Response` +view callable creates an instance of the :class:`~pyramid.response.Response` class. In the ``hello_world`` function, the string ``'Hello world!'`` is passed to the ``Response`` constructor as the *body* of the response. In the ``goodbye_world`` function, the string ``'Goodbye world!'`` is passed. |
