Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #14867 -- Corrected references to baking in the new TemplateRes…

…ponse docs. Thanks to marcusf for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b37d867929f41a81feb0954023471d7c50081e41 1 parent c58d25c
Russell Keith-Magee authored December 09, 2010

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/ref/template-response.txt
4  docs/ref/template-response.txt
@@ -189,13 +189,13 @@ change is always applied. If you want to force the content to be
189 189
 re-rendered, you can re-evaluate the rendered content, and assign
190 190
 the content of the response manually::
191 191
 
192  
-    # Set up a baked TemplateResponse
  192
+    # Set up a rendered TemplateResponse
193 193
     >>> t = TemplateResponse(request, 'original.html', {})
194 194
     >>> t.render()
195 195
     >>> print t.content
196 196
     Original content
197 197
 
198  
-    # Rebaking doesn't change content
  198
+    # Re-rendering doesn't change content
199 199
     >>> t.template_name = 'new.html'
200 200
     >>> t.render()
201 201
     >>> print t.content

0 notes on commit b37d867

Please sign in to comment.
Something went wrong with that request. Please try again.