Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

…ponse docs. Thanks to marcusf for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent c58d25c commit b37d867929f41a81feb0954023471d7c50081e41 @freakboy3742 freakboy3742 committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 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
re-rendered, you can re-evaluate the rendered content, and assign
the content of the response manually::
- # Set up a baked TemplateResponse
+ # Set up a rendered TemplateResponse
>>> t = TemplateResponse(request, 'original.html', {})
>>> t.render()
>>> print t.content
Original content
- # Rebaking doesn't change content
+ # Re-rendering doesn't change content
>>> t.template_name = 'new.html'
>>> t.render()
>>> print t.content

0 comments on commit b37d867

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