diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-12-09 00:47:37 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-12-09 00:47:37 +0000 |
| commit | b37d867929f41a81feb0954023471d7c50081e41 (patch) | |
| tree | 0c644187984e99757c56009842621d9b6363d707 /docs/ref/template-response.txt | |
| parent | c58d25cf8d4078ec843a4547a025f830b66b1fbc (diff) | |
Fixed #14867 -- Corrected references to baking in the new TemplateResponse docs. Thanks to marcusf for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/template-response.txt')
| -rw-r--r-- | docs/ref/template-response.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/template-response.txt b/docs/ref/template-response.txt index 4332e6e5ba..3b136b68b1 100644 --- a/docs/ref/template-response.txt +++ b/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 |
