From bfdfb6640fbc3b87077bec374ae710173a42b4e4 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Sun, 12 Dec 2010 11:16:25 -0700 Subject: clarify paragraph about contructing response objects from templates rendered to a string --- docs/narr/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3