Browse files

Very minor Python formatting change to template documentation

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 718f149 commit a901654a96dd4287ab3a700aff86bcac4b49f32a @SmileyChris SmileyChris committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/templates/api.txt
View
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.