Commits

Smil...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 1ef935f

Very minor Python formatting change to template documentation

  • Participants
  • Parent commits a64c5e0

Comments (0)

Files changed (1)

File docs/ref/templates/api.txt

 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