diff options
| author | Chris McDonough <chrism@plope.com> | 2012-02-22 20:23:26 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-02-22 20:23:26 -0500 |
| commit | a1317263c3a4dafd366d3a272c37a3ed8ac3613a (patch) | |
| tree | 6abd9f78cf6abd9fd6a627af5da677a57088b08a /docs | |
| parent | c2e82a7505bd0cac9304b31c4e84fbafe521e0e1 (diff) | |
| download | pyramid-a1317263c3a4dafd366d3a272c37a3ed8ac3613a.tar.gz pyramid-a1317263c3a4dafd366d3a272c37a3ed8ac3613a.tar.bz2 pyramid-a1317263c3a4dafd366d3a272c37a3ed8ac3613a.zip | |
fix
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/assets.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/assets.rst b/docs/narr/assets.rst index bad666066..22b38c929 100644 --- a/docs/narr/assets.rst +++ b/docs/narr/assets.rst @@ -380,7 +380,7 @@ do so, do things "by hand". First define the view callable. The above bit of code within ``favicon_view`` computes "here", which is a path relative to the Python file in which the function is defined. It then uses the Python ``open`` function to obtain a file handle to a file within -"here" named ``static``, and returns a :class:`pyramid.response.Fileresponse` +"here" named ``static``, and returns a :class:`pyramid.response.FileResponse` using the file path as the response's ``path`` argument and the request as the response's ``request`` argument. :class:`pyramid.response.FileResponse` will serve the file as quickly as possible when it's used this way. It makes |
