Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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: http://code.djangoproject.com/svn/django/trunk@14863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b37d867929f41a81feb0954023471d7c50081e41 1 parent c58d25c
@freakboy3742 freakboy3742 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/template-response.txt
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.