Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit a901654a96dd4287ab3a700aff86bcac4b49f32a 1 parent 718f149
@SmileyChris SmileyChris authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.