Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Very minor Python formatting change to template documentation

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 718f149 commit a901654a96dd4287ab3a700aff86bcac4b49f32a @SmileyChris SmileyChris committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/templates/api.txt
2  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

0 comments on commit a901654

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