diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2010-12-12 11:16:25 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2010-12-12 11:16:25 -0700 |
| commit | bfdfb6640fbc3b87077bec374ae710173a42b4e4 (patch) | |
| tree | a235100a8cca49da09ccf2f4ab697bd85f1da21a | |
| parent | 6a1a136a646fb9e5faafac902b67cfdc32497d72 (diff) | |
| download | pyramid-bfdfb6640fbc3b87077bec374ae710173a42b4e4.tar.gz pyramid-bfdfb6640fbc3b87077bec374ae710173a42b4e4.tar.bz2 pyramid-bfdfb6640fbc3b87077bec374ae710173a42b4e4.zip | |
clarify paragraph about contructing response objects from templates rendered to a string
| -rw-r--r-- | docs/narr/templates.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 16bb2d493..7245fe3aa 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -131,7 +131,7 @@ function is a shortcut function that actually returns a response object. This allows the example view above to simply return the result of its call to ``render_to_response()`` directly. -Obviously not all APIs you might call to get respnonse data will +Obviously not all APIs you might call to get response data will return a response object. If you call a "response-ignorant" API that returns information you'd like to use as a response (such as when you render a template to a string), you must construct your own response |
