summaryrefslogtreecommitdiff
path: root/docs/ref/templates/api.txt
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2012-04-20 01:31:07 +0000
committerChris Beaven <smileychris@gmail.com>2012-04-20 01:31:07 +0000
commita901654a96dd4287ab3a700aff86bcac4b49f32a (patch)
treef872bfb4f4cb7ff1cfafd35b544b1fdcbcec2c2c /docs/ref/templates/api.txt
parent718f149bb203d6b3f77bb8126e664054ee90fe7d (diff)
Very minor Python formatting change to template documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates/api.txt')
-rw-r--r--docs/ref/templates/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 605f0a5698..134f90c38c 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -744,7 +744,7 @@ automates the process: ``render_to_string()`` in
returns the resulting string::
from django.template.loader import render_to_string
- rendered = render_to_string('my_template.html', { 'foo': 'bar' })
+ rendered = render_to_string('my_template.html', {'foo': 'bar'})
The ``render_to_string`` shortcut takes one required argument --
``template_name``, which should be the name of the template to load