Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Chris Beaven authored April 20, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/templates/api.txt
2  docs/ref/templates/api.txt
@@ -744,7 +744,7 @@ automates the process: ``render_to_string()`` in
744 744
 returns the resulting string::
745 745
 
746 746
     from django.template.loader import render_to_string
747  
-    rendered = render_to_string('my_template.html', { 'foo': 'bar' })
  747
+    rendered = render_to_string('my_template.html', {'foo': 'bar'})
748 748
 
749 749
 The ``render_to_string`` shortcut takes one required argument --
750 750
 ``template_name``, which should be the name of the template to load

0 notes on commit a901654

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