Very minor Python formatting change to template documentation

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Chris Beaven 2012-04-20 01:31:07 +00:00
parent 718f149bb2
commit a901654a96
1 changed files with 1 additions and 1 deletions

View File

@ -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